Date: Mon, 19 Jan 2004 19:02:18 -0800 (PST) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib random.c Message-ID: <200401200302.i0K32Ibi024249@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2004/01/19 19:02:18 PST
FreeBSD src repository
Modified files:
lib/libc/stdlib random.c
Log:
Use 'uint32_t' instead of 'long' when a 32-bit integer is intended.
This results in no functional change, aside from fixing a data
corruption bug on LP64 platforms. The code here could still use a
significant amount of cleanup.
PR: 56502
Submitted by: hrs (earlier version)
Revision Changes Path
1.24 +32 -31 src/lib/libc/stdlib/random.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401200302.i0K32Ibi024249>
