aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/main.h')
-rw-r--r--test/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/main.h b/test/main.h
index 578284f5c..3be0f9fca 100644
--- a/test/main.h
+++ b/test/main.h
@@ -405,7 +405,7 @@ void set_repeat_from_string(const char *str)
void set_seed_from_string(const char *str)
{
errno = 0;
- g_seed = strtoul(str, 0, 10);
+ g_seed = int(strtoul(str, 0, 10));
if(errno || g_seed == 0)
{
std::cout << "Invalid seed value " << str << std::endl;