lobase

Linux port of OpenBSDs userland.
Log | Files | Refs | README

commit 9b83fa671caf8c9825b3d8b5ee900161060445b4
parent c23fa13d9c7a5128e0cb5d08f4e10c047c9b546a
Author: Duncaen <mail@duncano.de>
Date:   Mon,  6 Mar 2017 04:18:47 +0100

libopenbsd/random.c: fix int types

Diffstat:
libopenbsd/random.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libopenbsd/random.c b/libopenbsd/random.c @@ -30,6 +30,7 @@ #include <fcntl.h> #include <stdio.h> +#include <stdint.h> #include <stdlib.h> #include <unistd.h> @@ -265,7 +266,7 @@ srandom_deterministic(unsigned int x) * Returns a pointer to the old state. */ char * -initstate(u_int seed, char *arg_state, size_t n) +initstate(unsigned int seed, char *arg_state, size_t n) { char *ostate = (char *)(&state[-1]);