mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
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 80e547665d
)
This commit is contained in:
parent
4a09c5a09f
commit
570d5ecdbd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user