summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-06-08 17:08:00 +0200
committerJeremy Allison <jra@samba.org>2011-06-10 19:27:05 +0200
commit428a86c92b5b35e28c7d6921f2999616cdc1bc20 (patch)
treea7cd5e9a8b61eb729c25c5e65dbb85b29cd1dafd /source3/libsmb
parent2ae565b681a6307886b888ee5b576c12916eb0db (diff)
downloadsamba-428a86c92b5b35e28c7d6921f2999616cdc1bc20.tar.gz
samba-428a86c92b5b35e28c7d6921f2999616cdc1bc20.tar.bz2
samba-428a86c92b5b35e28c7d6921f2999616cdc1bc20.zip
s3:libsmb/clitrans: use uint32_t for param and data variables
SMBnttrans uses 32-bit values there. metze
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 e53f51b323..801794856a 100644
--- a/source3/libsmb/clitrans.c
+++ b/source3/libsmb/clitrans.c
@@ -171,9 +171,9 @@ static void cli_trans_format(struct cli_trans_state *state, uint8_t *pwct,
struct iovec *iov = state->iov;
uint8_t *pad = state->pad;
uint16_t *vwv = state->vwv;
- uint16_t param_offset;
- uint16_t this_param = 0;
- uint16_t this_data = 0;
+ uint32_t param_offset;
+ uint32_t this_param = 0;
+ uint32_t this_data = 0;
uint32_t useable_space;
uint8_t cmd;