Skip to content

Commit

Permalink
[BZ #9920]
Browse files Browse the repository at this point in the history
	* stdlib/random_r.c (__srandom_r): Change type of word to int32_t
	to get consistency between 32 and 64 bit architectures.
  • Loading branch information
Ulrich Drepper committed Apr 24, 2009
1 parent 3d855f7 commit fe12c79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
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]
* sysdeps/unix/make-syscalls.sh: Add rule to create target
directory for dummy syscall rules.
Expand Down
4 changes: 2 additions & 2 deletions stdlib/random_r.c
Original file line number Diff line number Diff line change
@@ -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
modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -166,7 +166,7 @@ __srandom_r (seed, buf)
int type;
int32_t *state;
long int i;
long int word;
int32_t word;
int32_t *dst;
int kc;

Expand Down

0 comments on commit fe12c79

Please sign in to comment.