]> git.ipfire.org Git - thirdparty/coreutils.git/commit
du: avoid spurious warnings with 64-bit gcc -W
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Jul 2010 23:16:20 +0000 (16:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Jul 2010 23:16:50 +0000 (16:16 -0700)
commitdb4df7dda6e209e3e38fe69298624ffe92d392c7
treeef0d7b1ccce398ef03bc9b572e67bf9c9d8105a0
parentfb1a26c3f64669a1b61740252c5db5fd5413c7e5
du: avoid spurious warnings with 64-bit gcc -W

Problem reported by Jim Meyering in:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6524#74
* gl/lib/di-set.c (di_ent_hash): Rework so that the compiler does
not incorrectly warn about shifting by 64-bits in unreachable code.
* gl/lib/ino-map.c (ino_hash): Likewise.
gl/lib/di-set.c
gl/lib/ino-map.c