From 1e26ecf6660ef692ee6dbce14171da49a3833132 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 8 Dec 2007 11:21:08 +0100 Subject: Fix C++ warnings (This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b) --- source3/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index bbe5572a2d..1e2f96cbf2 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -4060,7 +4060,7 @@ static char **remote_completion(const char *text, int len) info.samelen = info.len = len-i-1; if (i > 0) { - info.dirmask = SMB_MALLOC(i+2); + info.dirmask = SMB_MALLOC_ARRAY(char, i+2); if (!info.dirmask) { goto cleanup; } -- cgit