diff --git a/DustMite/dustmite.d b/DustMite/dustmite.d index 7fd8def..ec7abf2 100644 --- a/DustMite/dustmite.d +++ b/DustMite/dustmite.d @@ -1331,7 +1331,7 @@ void fuzz(ref Entity root) { import std.math : log2; auto newRoot = root; - auto numReductions = uniform(1, cast(int)log2(allAddresses.length), rng); + auto numReductions = uniform(1, cast(int)log2(cast(double)allAddresses.length), rng); Reduction[] reductions; foreach (n; 0 .. numReductions) { diff --git a/rdmd.d b/rdmd.d index f556702..d02cacc 100755 --- a/rdmd.d +++ b/rdmd.d @@ -840,7 +840,7 @@ import std.stdio, std.algorithm, std.array, std.ascii, std.base64, std.random, std.range, std.regex, std.signals, std.socket, std.stdint, std.stdio, std.string, std.windows.syserror, std.system, std.traits, std.typecons, - std.typetuple, std.uni, std.uri, std.utf, std.variant, std.xml, std.zip, + std.typetuple, std.uni, std.uri, std.utf, std.variant, std.zip, std.zlib; ";