aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
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 /scripts/git-hooks/commit-msg
parentbuild: update gnulib submodule to latest (diff)
downloadcoreutils-00ac17889345fe48f6fa4eb2e9457319199e0fe2.tar.gz
coreutils-00ac17889345fe48f6fa4eb2e9457319199e0fe2.zip
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 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions