Don't handle unsigned short > 16 bit differently.
authordrepper <drepper>
Sun, 21 Jan 2001 16:51:16 +0000 (16:51 +0000)
committerdrepper <drepper>
Sun, 21 Jan 2001 16:51:16 +0000 (16:51 +0000)
stdlib/jrand48_r.c

index 9df3694..dae1606 100644 (file)
@@ -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;
 }