* stdlib/random_r.c (__srandom_r): Change type of word to int32_t
	to get consistency between 32 and 64 bit architectures.
This commit is contained in:
Ulrich Drepper 2009-04-24 03:58:48 +00:00
parent 3d855f75d2
commit fe12c7984b
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2009-04-23 Ulrich Drepper <drepper@redhat.com> 2009-04-23 Ulrich Drepper <drepper@redhat.com>
[BZ #9920]
* stdlib/random_r.c (__srandom_r): Change type of word to int32_t
to get consistency between 32 and 64 bit architectures.
[BZ #10052] [BZ #10052]
* sysdeps/unix/make-syscalls.sh: Add rule to create target * sysdeps/unix/make-syscalls.sh: Add rule to create target
directory for dummy syscall rules. directory for dummy syscall rules.

View File

@ -1,5 +1,5 @@
/* /*
Copyright (C) 1995, 2005 Free Software Foundation Copyright (C) 1995, 2005, 2009 Free Software Foundation
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
@ -166,7 +166,7 @@ __srandom_r (seed, buf)
int type; int type;
int32_t *state; int32_t *state;
long int i; long int i;
long int word; int32_t word;
int32_t *dst; int32_t *dst;
int kc; int kc;