summaryrefslogtreecommitdiff
path: root/source4/torture/basic
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-23 07:28:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:16 -0500
commite89e5eee387b511b89de55048eb34bba326c024d (patch)
tree5d8a8c228e69460974add499d22ab12e03228441 /source4/torture/basic
parentb0856b8ad007356ad806bb65d772ff54bfcaa887 (diff)
downloadsamba-e89e5eee387b511b89de55048eb34bba326c024d.tar.gz
samba-e89e5eee387b511b89de55048eb34bba326c024d.tar.bz2
samba-e89e5eee387b511b89de55048eb34bba326c024d.zip
r1997: fix compiler warning
metze (This used to be commit eb9de893b8b93857c648f4df907aac9e9cb199dc)
Diffstat (limited to 'source4/torture/basic')
-rw-r--r--source4/torture/basic/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/charset.c b/source4/torture/basic/charset.c
index d769501326..330dcf1707 100644
--- a/source4/torture/basic/charset.c
+++ b/source4/torture/basic/charset.c
@@ -50,7 +50,7 @@ static NTSTATUS unicode_open(struct smbcli_tree *tree,
}
SSVAL(ucs_name, i*2, 0);
- i = convert_string_allocate(CH_UCS2, CH_UNIX, ucs_name, (1+u_name_len)*2, &fname);
+ i = convert_string_allocate(CH_UCS2, CH_UNIX, ucs_name, (1+u_name_len)*2, (void **)&fname);
if (i == -1) {
free(ucs_name);
return NT_STATUS_NO_MEMORY;