diff options
author | Jeremy Allison <jra@samba.org> | 2008-07-01 15:51:54 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-07-01 15:51:54 -0700 |
commit | 570d5ecdbd0614fb0633410e47da4a4083ab1636 (patch) | |
tree | 96228106ac43b32e0c049036b113f1ad001d6424 /source3 | |
parent | 4a09c5a09f791738453947f07abe8d0f100fe53d (diff) | |
download | samba-570d5ecdbd0614fb0633410e47da4a4083ab1636.tar.gz samba-570d5ecdbd0614fb0633410e47da4a4083ab1636.tar.bz2 samba-570d5ecdbd0614fb0633410e47da4a4083ab1636.zip |
Jim Brown <jim.brown@miami.edu> was right, this needs to be a signed int or
the loop never terminates.
Jeremy.
(This used to be commit 80e547665d104a6db376ff4c48bcc01dfd3513ee)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/smbconf/smbconf_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbconf/smbconf_util.c b/source3/lib/smbconf/smbconf_util.c index aa16369269..271fc47dd4 100644 --- a/source3/lib/smbconf/smbconf_util.c +++ b/source3/lib/smbconf/smbconf_util.c @@ -132,7 +132,7 @@ bool smbconf_find_in_array(const char *string, char **list, bool smbconf_reverse_find_in_array(const char *string, char **list, uint32_t num_entries, uint32_t *entry) { - uint32_t i; + int32_t i; if ((string == NULL) || (list == NULL) || (num_entries == 0)) { return false; |