samba: pass down size_t instead of int to add_string_to_array().
[samba.git] / source3 / lib / eventlog / eventlog.c
index 81957b18569c72575d136ae09bbe22575e793356..34752fd8006979c65f8db0761a74560a6286174b 100644 (file)
@@ -586,7 +586,7 @@ bool parse_logentry( TALLOC_CTX *mem_ctx, char *line, struct eventlog_Record_tdb
                }
        } else if ( 0 == strncmp( start, "STR", stop - start ) ) {
                size_t tmp_len;
-               int num_of_strings;
+               size_t num_of_strings;
                /* skip past initial ":" */
                stop++;
                /* now skip any other leading whitespace */