]> Dogcows Code - chaz/tar/commit
tar: remove lint discovered by Sun C compiler
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Sep 2010 06:52:34 +0000 (23:52 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Sep 2010 06:53:23 +0000 (23:53 -0700)
commitbad4b0006c872e09129cc1128ab24157af38b0cd
tree07a610fa074d9613169afcc41fbe557e4be93f55
parente985feb292927fcf3602a7acd355105960302c0a
tar: remove lint discovered by Sun C compiler

* src/common.h (WARN_ALL): Don't mask with 0xffffffff; on a 32-bit
host, 0xffffffff is of type 'unsigned int', which makes WARN_ALL
an unsigned int value that is too large to fit into an int, and
the C standard says that this has undefined behavior.  The mask is
not needed, so omit it.
src/common.h
This page took 0.024455 seconds and 4 git commands to generate.