summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-02-14 23:54:48 +0000
committerHerb Lewis <herb@samba.org>2002-02-14 23:54:48 +0000
commit995755fc30c23db34074f48483b563481eff4b44 (patch)
tree282c61e9c220e69417025d913c7e7d9ed7f0a66d
parentdee2a8fb4b81f24ce2906d7b130952c8e3419615 (diff)
downloadsamba-995755fc30c23db34074f48483b563481eff4b44.tar.gz
samba-995755fc30c23db34074f48483b563481eff4b44.tar.xz
samba-995755fc30c23db34074f48483b563481eff4b44.zip
really get rid of compiler warning this time :-)
-rw-r--r--source/libsmb/clistr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clistr.c b/source/libsmb/clistr.c
index 126cc05e010..aa3575571d2 100644
--- a/source/libsmb/clistr.c
+++ b/source/libsmb/clistr.c
@@ -73,7 +73,7 @@ int clistr_push(struct cli_state *cli, void *dest, const char *src, int dest_len
/* the server likes unicode. give it the works */
if (flags & STR_CONVERT)
- dos_PutUniCode(dest, (char *)unix_to_dos(src,False), dest_len, flags & STR_TERMINATE);
+ dos_PutUniCode(dest, unix_to_dos((char *)src,False), dest_len, flags & STR_TERMINATE);
else
unix_PutUniCode(dest, src, dest_len, flags & STR_TERMINATE);