From f9d8f8843dc0ab8c9d59abde7222e0f118b86b5d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 25 May 2004 16:24:13 +0000 Subject: r884: convert samba4 to use [u]int32_t instead of [u]int32 metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095) --- source4/smb_server/reply.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/smb_server/reply.c') diff --git a/source4/smb_server/reply.c b/source4/smb_server/reply.c index eab71c519c..5680618bd3 100644 --- a/source4/smb_server/reply.c +++ b/source4/smb_server/reply.c @@ -671,7 +671,7 @@ void reply_readbraw(struct request_context *req) /* the 64 bit varient */ if (req->in.wct == 10) { - uint32 offset_high = IVAL(req->in.vwv, VWV(8)); + uint32_t offset_high = IVAL(req->in.vwv, VWV(8)); io.readbraw.in.offset |= (((SMB_OFF_T)offset_high) << 32); } @@ -877,7 +877,7 @@ void reply_read_and_X(struct request_context *req) /* the 64 bit varient */ if (req->in.wct == 12) { - uint32 offset_high = IVAL(req->in.vwv, VWV(10)); + uint32_t offset_high = IVAL(req->in.vwv, VWV(10)); io->readx.in.offset |= (((uint64_t)offset_high) << 32); } @@ -1064,10 +1064,10 @@ void reply_write_and_X(struct request_context *req) io->writex.in.data = req->in.hdr + SVAL(req->in.vwv, VWV(11)); if (req->in.wct == 14) { - uint32 offset_high = IVAL(req->in.vwv, VWV(12)); + uint32_t offset_high = IVAL(req->in.vwv, VWV(12)); uint16 count_high = SVAL(req->in.vwv, VWV(9)); io->writex.in.offset |= (((uint64_t)offset_high) << 32); - io->writex.in.count |= ((uint32)count_high) << 16; + io->writex.in.count |= ((uint32_t)count_high) << 16; } /* make sure the data is in bounds */ @@ -1754,7 +1754,7 @@ void reply_lockingX(struct request_context *req) /* construct the locks array */ for (i=0;ilockx.in.locks[i].pid = SVAL(p, 0); -- cgit