git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: Fix CID 241650 Sizeof not portable
[samba.git]
/
source3
/
lib
/
util_str.c
diff --git
a/source3/lib/util_str.c
b/source3/lib/util_str.c
index 314c7eac33237be5ae604dff28c0a9879939534a..967beda1c5d96bfbd8ec3544aaa8458b0e07ca8d 100644
(file)
--- a/
source3/lib/util_str.c
+++ b/
source3/lib/util_str.c
@@
-1282,7
+1282,7
@@
char **str_list_make_v3(TALLOC_CTX *mem_ctx, const char *string,
list = tmp;
memset (&list[num], 0,
- ((sizeof(char*
*
)) * (S_LIST_ABS +1)));
+ ((sizeof(char*)) * (S_LIST_ABS +1)));
}
list[num] = tok;