summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/smbconf/smbconf_util.c2
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;