Fix clang build

This commit is contained in:
Igor Canadi 2015-01-13 12:26:57 -08:00
parent 02b30202cd
commit 53f615df6a

View File

@ -184,8 +184,9 @@ class KeyGenerator {
for (uint64_t i = 0; i < num_; ++i) {
values_[i] = i;
}
std::shuffle(values_.begin(), values_.end(),
std::default_random_engine(FLAGS_seed));
std::shuffle(
values_.begin(), values_.end(),
std::default_random_engine(static_cast<unsigned int>(FLAGS_seed)));
}
}