Becouse these functions return a size_t, they can't return negitive numbers.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 2 Jan 2003 13:01:44 +0000 (13:01 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 2 Jan 2003 13:01:44 +0000 (13:01 +0000)
commitc7e5797a95804d5779cdfc93795adcdf2fe82a59
tree7db978dccf6aeda13ec4ebb0d71d4db3870d5787
parent23abf75adef2f400414dfafa1248f5f886ae27c0
Becouse these functions return a size_t, they can't return negitive numbers.
So a < 0 check is pointless, instead check against -1, which will be cast to
unsigned.

Andrew Bartlett
source/nsswitch/winbindd_pam.c
source/smbd/mangle_hash.c