Fix dependency that long is always 32 bits. This does not work on (I)LP64
authorJeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>
Sat, 6 Sep 2003 08:00:07 +0000 (08:00 +0000)
committerJeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>
Sat, 6 Sep 2003 08:00:07 +0000 (08:00 +0000)
commit13b1cc005d3b889fc677a2638fb546c64e5f6ebd
tree39051756d2ca44f6b8e471bc67fd4057fb70e712
parentb1e04573d29e47e081156416c4938cfc201c5d9a
Fix dependency that long is always 32 bits.  This does not work on (I)LP64
platforms.

This works for Itanium and i386, but on x86-64 and sparc64 it gives corrupted
values.

Submitted by: Hiroki Sato, FreeBSD PR 56502
lib/libc/stdlib/random.c