diff --git a/tools/lgf-gen.cc b/tools/lgf-gen.cc --- a/tools/lgf-gen.cc +++ b/tools/lgf-gen.cc @@ -720,7 +720,7 @@ .run(); if (ap["rand"]) { - int seed = time(0); + int seed = int(time(0)); std::cout << "Random number seed: " << seed << std::endl; rnd = Random(seed); }