diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libc/stdlib/random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/random.c b/src/lib/libc/stdlib/random.c index 46b67b5ec7..1ac61f2cec 100644 --- a/src/lib/libc/stdlib/random.c +++ b/src/lib/libc/stdlib/random.c | |||
@@ -32,7 +32,7 @@ | |||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #if defined(LIBC_SCCS) && !defined(lint) | 34 | #if defined(LIBC_SCCS) && !defined(lint) |
35 | static char *rcsid = "$OpenBSD: random.c,v 1.4 1996/09/15 09:31:51 tholo Exp $"; | 35 | static char *rcsid = "$OpenBSD: random.c,v 1.5 1998/02/06 01:49:08 deraadt Exp $"; |
36 | #endif /* LIBC_SCCS and not lint */ | 36 | #endif /* LIBC_SCCS and not lint */ |
37 | 37 | ||
38 | #include <stdio.h> | 38 | #include <stdio.h> |
@@ -242,7 +242,7 @@ char * | |||
242 | initstate(seed, arg_state, n) | 242 | initstate(seed, arg_state, n) |
243 | u_int seed; /* seed for R.N.G. */ | 243 | u_int seed; /* seed for R.N.G. */ |
244 | char *arg_state; /* pointer to state array */ | 244 | char *arg_state; /* pointer to state array */ |
245 | int n; /* # bytes of state info */ | 245 | size_t n; /* # bytes of state info */ |
246 | { | 246 | { |
247 | register char *ostate = (char *)(&state[-1]); | 247 | register char *ostate = (char *)(&state[-1]); |
248 | 248 | ||