build: avoid -Wshift-negative-value warning
authorJim Meyering <meyering@fb.com>
Mon, 24 Aug 2015 16:10:51 +0000 (09:10 -0700)
committerJim Meyering <meyering@fb.com>
Mon, 24 Aug 2015 16:30:48 +0000 (09:30 -0700)
commit3e32a76f469635ccbbecd8f053e2b2053e2455c0
treeb53d900f43b9cdc0fc2ee87ac3c1a8efe112efd9
parent0f0c6c12169dd2bcb05909e20e10f94a1c54d69f
build: avoid -Wshift-negative-value warning

Configured with --enable-gcc-warnings, a gcc-6.x build would fail with this:

  gzip.c:118:32: error: left shift of negative value
   #define OFF_T_MIN (~ (off_t) 0 << (sizeof (off_t) * CHAR_BIT - 1))

* gzip.c [OFF_T_MAX]: Define in terms of TYPE_MAXIMUM, not OFF_T_MIN.
[OFF_T_MIN]: Remove now-unused definition.
Include "intprops.h" for definiton of TYPE_MAXIMUM.
* bootstrap.conf (gnulib_modules): Add intprops.
bootstrap.conf
gzip.c