Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/games/primes



Module Name:    src
Committed By:   jakllsch
Date:           Tue Aug 30 02:58:04 UTC 2011

Modified Files:
        src/games/primes: primes.c

Log Message:
No need to cast double to ubig (aka uintmax_t) through int.

This change prevents a modulo by zero in a invocation such as:
primes 18446744073709551000 18446744073709551615
on a LP64 machine.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/games/primes/primes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index