From 428a86c92b5b35e28c7d6921f2999616cdc1bc20 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 8 Jun 2011 17:08:00 +0200 Subject: [PATCH] s3:libsmb/clitrans: use uint32_t for param and data variables SMBnttrans uses 32-bit values there. metze --- source3/libsmb/clitrans.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/libsmb/clitrans.c b/source3/libsmb/clitrans.c index e53f51b3238..801794856a4 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; -- 2.11.4.GIT