summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-31 00:35:11 +0200
committerGünther Deschner <gd@samba.org>2011-05-31 04:09:30 +0200
commit6a6af31148cb6003357ec78a7d9befc9e9313a74 (patch)
treea4482f5adacad578726d275e457fc4e70174158f /source3/libsmb
parent7e5660282e94c969ac049eca5da7439982414010 (diff)
downloadsamba-6a6af31148cb6003357ec78a7d9befc9e9313a74.tar.gz
samba-6a6af31148cb6003357ec78a7d9befc9e9313a74.tar.bz2
samba-6a6af31148cb6003357ec78a7d9befc9e9313a74.zip
s3-libsmb: fix build warning of cli_qfilename().
Guenther
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clirap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index a05903e2bc..3e5f08dd3c 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -1079,7 +1079,7 @@ NTSTATUS cli_qfilename(struct cli_state *cli, uint16_t fnum, char *name,
return status;
}
- clistr_pull(rdata, name, rdata+4, namelen, IVAL(rdata, 0),
+ clistr_pull((const char *)rdata, name, rdata+4, namelen, IVAL(rdata, 0),
STR_UNICODE);
TALLOC_FREE(rdata);
return NT_STATUS_OK;