]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: don't assume uintmax_t is 64 bits
authorPádraig Brady <P@draigBrady.com>
Tue, 30 Oct 2012 02:15:36 +0000 (02:15 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 4 Nov 2012 00:49:04 +0000 (00:49 +0000)
commit6108baa47e90aaefb83eb230e2e063906ca14e87
treec05898f88e424ba2d4c2fd01ec0584255ea205c0
parent1411022cf23d81bac8176b06008898439a2c1a59
build: don't assume uintmax_t is 64 bits

This was not seen to be an issue in practise,
but to make the code more robust, don't assume
uintmax_t is 64 bits.

* src/factor.c (W_TYPE_SIZE): Define based on integer limits.
* src/make-prime-list.c (output_primes): Define format width
based on integer limits.
src/factor.c
src/make-prime-list.c