diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-08 11:21:08 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-12-08 09:39:36 -0800 |
commit | 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b (patch) | |
tree | 66a3f77e0aefd0bf8d24b6efb850c51ab2ca9dba /source/client | |
parent | 60500fac30911500eade7c2a9aa13569dcab0911 (diff) | |
download | samba-01a5c3ea4bf18d99ca1c35e8c38367046e4c867b.tar.gz samba-01a5c3ea4bf18d99ca1c35e8c38367046e4c867b.tar.xz samba-01a5c3ea4bf18d99ca1c35e8c38367046e4c867b.zip |
Fix C++ warnings
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/client.c | 2 |
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; } |