summaryrefslogtreecommitdiff
path: root/source3/msdfs/msdfs.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2001-10-23 19:10:30 +0000
committerHerb Lewis <herb@samba.org>2001-10-23 19:10:30 +0000
commit3ea349271355b39f7b877ce67530cc58e7db0ee8 (patch)
tree3e5c5c112cb3aa8386b3e08bbdd444953a6ebd52 /source3/msdfs/msdfs.c
parent2a2cccabca40af0d713a4541b4ccba0a3d97496c (diff)
downloadsamba-3ea349271355b39f7b877ce67530cc58e7db0ee8.tar.gz
samba-3ea349271355b39f7b877ce67530cc58e7db0ee8.tar.bz2
samba-3ea349271355b39f7b877ce67530cc58e7db0ee8.zip
get rid of compiler warnings (casts and delete unused variables)
(This used to be commit 51cb4411df61d1caec9d84809b1a53a6a632f808)
Diffstat (limited to 'source3/msdfs/msdfs.c')
-rw-r--r--source3/msdfs/msdfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/msdfs/msdfs.c b/source3/msdfs/msdfs.c
index 7ba40a5bd0..f2915606e8 100644
--- a/source3/msdfs/msdfs.c
+++ b/source3/msdfs/msdfs.c
@@ -370,7 +370,7 @@ static int setup_ver2_dfs_referral(char* pathname, char** ppdata,
requestedpathlen = rpcstr_push(uni_requestedpath, pathname, -1,
STR_TERMINATE);
- dump_data(10,uni_requestedpath,requestedpathlen);
+ dump_data(10,(const char *)uni_requestedpath,requestedpathlen);
DEBUG(10,("ref count = %u\n",junction->referral_count));
@@ -464,7 +464,7 @@ static int setup_ver3_dfs_referral(char* pathname, char** ppdata,
reqpathlen = rpcstr_push(uni_reqpath, pathname, -1, STR_TERMINATE);
- dump_data(10,uni_reqpath,reqpathlen);
+ dump_data(10,(const char *)uni_reqpath,reqpathlen);
uni_reqpathoffset1 = REFERRAL_HEADER_SIZE + VERSION3_REFERRAL_SIZE * junction->referral_count;
uni_reqpathoffset2 = uni_reqpathoffset1 + reqpathlen;