summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-05-12 12:47:39 +0200
committerVolker Lendecke <vl@samba.org>2013-05-12 17:44:55 +0200
commit09d3f577c803dc22531eb9d74d08b16eedbe84f0 (patch)
tree42956c3aeeade93a2f9b82f86a9708c10217b74e /source3/lib
parent7027c6aca96ce4eb4b6a4207f206d7b85eae7c56 (diff)
downloadsamba-09d3f577c803dc22531eb9d74d08b16eedbe84f0.tar.gz
samba-09d3f577c803dc22531eb9d74d08b16eedbe84f0.tar.bz2
samba-09d3f577c803dc22531eb9d74d08b16eedbe84f0.zip
lib: Fix CID 241650 Sizeof not portable
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
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 314c7eac33..967beda1c5 100644
--- 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;