aboutsummaryrefslogtreecommitdiff
path: root/stdlib/jrand48_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/jrand48_r.c')
-rw-r--r--stdlib/jrand48_r.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/stdlib/jrand48_r.c b/stdlib/jrand48_r.c
index 9df36942f6..dae1606e95 100644
--- a/stdlib/jrand48_r.c
+++ b/stdlib/jrand48_r.c
@@ -30,10 +30,7 @@ __jrand48_r (xsubi, buffer, result)
return -1;
/* Store the result. */
- if (sizeof (unsigned short int) == 2)
- *result = ((xsubi[2] << 16) | xsubi[1]) & 0xffffffffl;
- else
- *result = xsubi[2] & 0xffffffffl;
+ *result = ((xsubi[2] << 16) | xsubi[1]) & 0xffffffffl;
return 0;
}