summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-08 11:21:08 +0100
committerJeremy Allison <jra@samba.org>2007-12-08 09:39:36 -0800
commit01a5c3ea4bf18d99ca1c35e8c38367046e4c867b (patch)
tree66a3f77e0aefd0bf8d24b6efb850c51ab2ca9dba /source/client
parent60500fac30911500eade7c2a9aa13569dcab0911 (diff)
downloadsamba-01a5c3ea4bf18d99ca1c35e8c38367046e4c867b.tar.gz
samba-01a5c3ea4bf18d99ca1c35e8c38367046e4c867b.tar.xz
samba-01a5c3ea4bf18d99ca1c35e8c38367046e4c867b.zip
Fix C++ warnings
Diffstat (limited to 'source/client')
-rw-r--r--source/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index bbe5572a2df..1e2f96cbf22 100644
--- a/source/client/client.c
+++ b/source/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;
}