From 09d3f577c803dc22531eb9d74d08b16eedbe84f0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 12 May 2013 12:47:39 +0200 Subject: lib: Fix CID 241650 Sizeof not portable Signed-off-by: Volker Lendecke Reviewed-by: Ira Cooper Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Sun May 12 17:44:55 CEST 2013 on sn-devel-104 --- source3/lib/util_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; -- cgit