CVS commit: src/lib/libc/stdlib

"Roland Illig" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	rillig
Date:		Sun Apr 19 19:46:32 UTC 2026

Modified Files:
	src/lib/libc/stdlib: rand.c

Log Message:
libc/rand: remove no-longer-needed LINTED comment

The calculation happens in unsigned integer mode, which is guaranteed to
wrap around on overflow. As long as RAND_MAX fits in 'int', the cast to
'int' is not necessary, but it doesn't hurt either.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdlib/rand.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.