From 21a568e279210e6c521e178614dc30e6a1d19937 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 20 Jan 2001 16:30:18 +0000 Subject: Update. 2001-01-20 Ulrich Drepper * io/ftw.c (ftw_dir): Add slash after directory name if there wasn't any. Reported by loris . * io/Makefile (tests): Add bug-ftw2. * io/bug-ftw2.c: New file. --- stdlib/jrand48_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/jrand48_r.c') diff --git a/stdlib/jrand48_r.c b/stdlib/jrand48_r.c index 48def5e..9df3694 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; -- cgit v1.1