git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
samba: pass down size_t instead of int to add_string_to_array().
[samba.git]
/
source3
/
lib
/
eventlog
/
eventlog.c
diff --git
a/source3/lib/eventlog/eventlog.c
b/source3/lib/eventlog/eventlog.c
index 81957b18569c72575d136ae09bbe22575e793356..34752fd8006979c65f8db0761a74560a6286174b 100644
(file)
--- a/
source3/lib/eventlog/eventlog.c
+++ b/
source3/lib/eventlog/eventlog.c
@@
-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;
-
in
t num_of_strings;
+
size_
t num_of_strings;
/* skip past initial ":" */
stop++;
/* now skip any other leading whitespace */