Commit 5a83d477 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

srandom() argument is unsigned long, not unsigned int.

parent d0ee07f8
...@@ -44,7 +44,7 @@ void ...@@ -44,7 +44,7 @@ void
srandomdev(void) srandomdev(void)
{ {
struct timeval tv; struct timeval tv;
unsigned int seed; unsigned long seed;
int fd; int fd;
if ((fd = open("/dev/urandom", O_RDONLY)) >= 0 || if ((fd = open("/dev/urandom", O_RDONLY)) >= 0 ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment