git.samba.org
/
mdw
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7027c6a
)
lib: Fix CID 241650 Sizeof not portable
author
Volker Lendecke
<vl@samba.org>
Sun, 12 May 2013 10:47:39 +0000
(12:47 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 12 May 2013 15:44:55 +0000
(17:44 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Sun May 12 17:44:55 CEST 2013 on sn-devel-104
source3/lib/util_str.c
patch
|
blob
|
history
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;