git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e56602
)
s3-libsmb: fix build warning of cli_qfilename().
author
Günther Deschner
<gd@samba.org>
Mon, 30 May 2011 22:35:11 +0000
(
00:35
+0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 31 May 2011 02:09:30 +0000
(
04:09
+0200)
Guenther
source3/libsmb/clirap.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clirap.c
b/source3/libsmb/clirap.c
index a05903e2bc9f0fa9d326e4ad2e1f24cee373248b..3e5f08dd3cb6641d5a3bc97816c93a017636ffeb 100644
(file)
--- 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;