diff options
author | 1998-11-22 07:41:04 +0000 | |
---|---|---|
committer | 1998-11-22 07:41:04 +0000 | |
commit | 765688bbfe008441624ac96d9881541f2fe6a08c (patch) | |
tree | ca6043c576c44b23adf79bde4f68fc9a0b561a76 /lib/libc/stdlib/rand.c | |
parent | detect truncation and overflow better (diff) | |
download | wireguard-openbsd-765688bbfe008441624ac96d9881541f2fe6a08c.tar.xz wireguard-openbsd-765688bbfe008441624ac96d9881541f2fe6a08c.zip |
bad long
Diffstat (limited to 'lib/libc/stdlib/rand.c')
-rw-r--r-- | lib/libc/stdlib/rand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/rand.c b/lib/libc/stdlib/rand.c index 61fb66e5eca..797d3b2848b 100644 --- a/lib/libc/stdlib/rand.c +++ b/lib/libc/stdlib/rand.c @@ -32,13 +32,13 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: rand.c,v 1.3 1998/11/20 11:18:50 d Exp $"; +static char *rcsid = "$OpenBSD: rand.c,v 1.4 1998/11/22 07:41:04 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> #include <stdlib.h> -static u_long next = 1; +static u_int next = 1; int rand_r(seed) |