summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-10-02 20:28:37 +0100
committerPádraig Brady <P@draigBrady.com>2015-10-03 02:54:51 +0100
commit00ac17889345fe48f6fa4eb2e9457319199e0fe2 (patch)
tree737279b404ea6aee773a2a5ea5578b59e01ca3a0 /po
parent8fe6f70f35ced8ee52c60f1c9f78fb418d723581 (diff)
downloadcoreutils-00ac17889345fe48f6fa4eb2e9457319199e0fe2.tar.xz
build: avoid -Wstrict-overflow warnings with GCC 5.1 on 32 bit
* src/shred.c (dopass): With -O2, GCC 5.1 gives "assuming signed overflow does not occur when simplifying conditional to constant" warnings, in regard to the signed (off_t) variables. Therefore use unsigned (uintmax_t) instead, and a separate boolean to cater for the special meaning of the negative part of the integer range. Noticed at http://hydra.nixos.org/build/24983447
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions