mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 20:30:28 +02:00
(scm_i_init_rstate): Compare w to -1 not 0xffffffffUL, now
that it's an scm_t_int32. Otherwise gcc 3.4 says it's always false on a 64-bit system.
This commit is contained in:
parent
a1b8491411
commit
8b3747f9c6
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ scm_i_init_rstate (scm_t_i_rstate *state, const char *seed, int n)
|
|||
else
|
||||
c += seed[i] << (8 * (m - 4));
|
||||
}
|
||||
if ((w == 0 && c == 0) || (w == 0xffffffffUL && c == A - 1))
|
||||
if ((w == 0 && c == 0) || (w == -1 && c == A - 1))
|
||||
++c;
|
||||
state->w = w;
|
||||
state->c = c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue