aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/random_r.c')
-rw-r--r--stdlib/random_r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/random_r.c b/stdlib/random_r.c
index 445bc95d35..9a74451cc6 100644
--- a/stdlib/random_r.c
+++ b/stdlib/random_r.c
@@ -202,7 +202,7 @@ weak_alias (__srandom_r, srandom_r)
int
__initstate_r (seed, arg_state, n, buf)
unsigned int seed;
- void *arg_state;
+ char *arg_state;
size_t n;
struct random_data *buf;
{
@@ -264,7 +264,7 @@ weak_alias (__initstate_r, initstate_r)
Returns a pointer to the old state information. */
int
__setstate_r (arg_state, buf)
- void *arg_state;
+ char *arg_state;
struct random_data *buf;
{
int32_t *new_state = (int32_t *) arg_state;