diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-10-02 20:28:37 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-10-03 02:54:51 +0100 |
commit | 00ac17889345fe48f6fa4eb2e9457319199e0fe2 (patch) | |
tree | 737279b404ea6aee773a2a5ea5578b59e01ca3a0 /po | |
parent | 8fe6f70f35ced8ee52c60f1c9f78fb418d723581 (diff) | |
download | coreutils-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