summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-15 06:43:37 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-15 06:43:37 +0000
commit6fe590983b5d4dca8cea82eaa8dfb7b3a13bc3d1 (patch)
tree273afaa9d3a9222ebd5d1db32b22cd67e01e5402 /source3/libsmb
parentd21f97a25d01d1d576f71cf45f5c2003bcfc8fe8 (diff)
downloadsamba-6fe590983b5d4dca8cea82eaa8dfb7b3a13bc3d1.tar.gz
samba-6fe590983b5d4dca8cea82eaa8dfb7b3a13bc3d1.tar.bz2
samba-6fe590983b5d4dca8cea82eaa8dfb7b3a13bc3d1.zip
Add const, and a signed/unsigned fix.
(This used to be commit f07a93eaeba20f5704f43c7f02141adc564db136)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clitrans.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clitrans.c b/source3/libsmb/clitrans.c
index 7e3357a8cc..3d3cd427d7 100644
--- a/source3/libsmb/clitrans.c
+++ b/source3/libsmb/clitrans.c
@@ -31,10 +31,10 @@ BOOL cli_send_trans(struct cli_state *cli, int trans,
const char *pipe_name,
int fid, int flags,
uint16 *setup, unsigned int lsetup, unsigned int msetup,
- char *param, unsigned int lparam, unsigned int mparam,
- char *data, unsigned int ldata, unsigned int mdata)
+ const char *param, unsigned int lparam, unsigned int mparam,
+ const char *data, unsigned int ldata, unsigned int mdata)
{
- int i;
+ unsigned int i;
unsigned int this_ldata,this_lparam;
unsigned int tot_data=0,tot_param=0;
char *outdata,*outparam;