summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-17 23:04:03 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-17 23:04:03 +0000
commite88eab35bc03a2d108b27f2209ec4cfb395dcdba (patch)
tree8a0e5c5ca43634c8146982ad9eb63165c9ea07c3 /source3/libsmb
parent83a580f49a3a7f5aff0aab3946faee0892239251 (diff)
downloadsamba-e88eab35bc03a2d108b27f2209ec4cfb395dcdba.tar.gz
samba-e88eab35bc03a2d108b27f2209ec4cfb395dcdba.tar.bz2
samba-e88eab35bc03a2d108b27f2209ec4cfb395dcdba.zip
Merge from HEAD:
signed/unsigned (mostly i counters) a little bit of const. Andrew Bartlett (This used to be commit 50f0ca752e5058c4051f42a9337361373ba1f727)
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;