aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/genhostid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genhostid.c b/src/genhostid.c
index 5afb764d..da9e0db6 100644
--- a/src/genhostid.c
+++ b/src/genhostid.c
@@ -34,5 +34,5 @@ main (void)
srand48 ((long int) time (NULL) ^ (long int) getpid ());
n = lrand48 ();
}
- return sethostid (n);
+ return sethostid ((int32_t)n);
}