diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-20 16:30:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-20 16:30:18 +0000 |
commit | 21a568e279210e6c521e178614dc30e6a1d19937 (patch) | |
tree | dfabce59cf49e22ca413251179166f361c514a67 /stdlib/jrand48_r.c | |
parent | df152cc80e60dc8bf7167a62ee26cb19a9a675d3 (diff) | |
download | glibc-21a568e279210e6c521e178614dc30e6a1d19937.tar.gz glibc-21a568e279210e6c521e178614dc30e6a1d19937.tar.xz glibc-21a568e279210e6c521e178614dc30e6a1d19937.zip |
Update.
2001-01-20 Ulrich Drepper <drepper@redhat.com> * io/ftw.c (ftw_dir): Add slash after directory name if there wasn't any. Reported by loris <loris@iol.it>. * io/Makefile (tests): Add bug-ftw2. * io/bug-ftw2.c: New file.
Diffstat (limited to 'stdlib/jrand48_r.c')
-rw-r--r-- | stdlib/jrand48_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/jrand48_r.c b/stdlib/jrand48_r.c index 48def5ef35..9df36942f6 100644 --- a/stdlib/jrand48_r.c +++ b/stdlib/jrand48_r.c @@ -31,7 +31,7 @@ __jrand48_r (xsubi, buffer, result) /* Store the result. */ if (sizeof (unsigned short int) == 2) - *result = (xsubi[2] << 16) | xsubi[1]; + *result = ((xsubi[2] << 16) | xsubi[1]) & 0xffffffffl; else *result = xsubi[2] & 0xffffffffl; |