ntirpc for Ganesha v1.4.x
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAABAgAGBQJWer5wAAoJEGYyPTLxQsFGx/EH/3YJexxPHrawrFWh26pAttZ1
iZ7eU5QYeE2mIwsw6J2VvQKXbTmXwtkrtSBACbGnMVWpkPg6Adgl01rKmYzvZv8o
mk9Ddev6nYX8kr2VBwx6PCCE05iNxaOcSVPEuy+FqNSQ+4aLHVAT/L0Pilp5fhJQ
khPGSKh9sXnUW7h3Sxsk7QcOvoFcR8Z4N3LhIIMOAq3JHgr1q5WcFvLHxBuSZipT
55mlxk8pI8pn4XohsrH8Bc2VzgywCP6IbwBQGUW5F5lF1wxeCotQ7t806+Un6JBH
Fqcheg7nGj8khmhrqzjhREaYvyEil2sjkLjnDjCjhVEENf8ar3kqn8+n5uTZFxU=
=kGDY
-----END PGP SIGNATURE-----
authgss_hash.c: fix clang compile warning

...
[ 95%] Building C object src/CMakeFiles/ntirpc.dir/authgss_hash.c.o
cd /home/kkeithle/src/ntirpc-1.3.1/src && /usr/bin/clang  -DHAVE_CONFIG_H -DINET6 -DPORTMAP -D_GNU_SOURCE -Dntirpc_EXPORTS -fPIC -fPIC -I/home/kkeithle/src/ntirpc-1.3.1/ntirpc -I/home/kkeithle/src/ntirpc-1.3.1    -o CMakeFiles/ntirpc.dir/authgss_hash.c.o   -c /home/kkeithle/src/ntirpc-1.3.1/src/authgss_hash.c
/home/kkeithle/src/ntirpc-1.3.1/src/authgss_hash.c:274:11: warning: taking the absolute value of unsigned type 'unsigned int' has no effect
      [-Wabsolute-value]
                             ((abs(axp->gen - gd->gen) >
                               ^
/home/kkeithle/src/ntirpc-1.3.1/ntirpc/intrinsic.h:32:42: note: expanded from macro 'unlikely'
                                         ^
/home/kkeithle/src/ntirpc-1.3.1/src/authgss_hash.c:274:11: note: remove the call to 'abs' since unsigned values cannot be negative
                             ((abs(axp->gen - gd->gen) >
                               ^~~
/home/kkeithle/src/ntirpc-1.3.1/ntirpc/intrinsic.h:32:42: note: expanded from macro 'unlikely'
                                         ^
1 warning generated.
...

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
1 file changed