diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-24 09:36:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:15 -0500 |
commit | 0eddf14b307e905663b95296aa695a10d3fb90f7 (patch) | |
tree | 47048c771464eeae7d38cd44ff4584544452f96e /source4/smb_server/smb/request.c | |
parent | e26eea97872f856d35463834d42b86e58b144f58 (diff) | |
download | samba-0eddf14b307e905663b95296aa695a10d3fb90f7.tar.gz samba-0eddf14b307e905663b95296aa695a10d3fb90f7.tar.xz samba-0eddf14b307e905663b95296aa695a10d3fb90f7.zip |
r15191: Avoid uint_t as it's not standard.
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)
Diffstat (limited to 'source4/smb_server/smb/request.c')
-rw-r--r-- | source4/smb_server/smb/request.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/smb_server/smb/request.c b/source4/smb_server/smb/request.c index f266ab587b..3c5b8c10c7 100644 --- a/source4/smb_server/smb/request.c +++ b/source4/smb_server/smb/request.c @@ -89,7 +89,7 @@ static void req_setup_chain_reply(struct smbsrv_request *req, uint_t wct, uint_t the caller will then fill in the command words and data before calling req_send_reply() to send the reply on its way */ -void smbsrv_setup_reply(struct smbsrv_request *req, uint_t wct, uint_t buflen) +void smbsrv_setup_reply(struct smbsrv_request *req, uint_t wct, size_t buflen) { uint16_t flags2; @@ -248,7 +248,7 @@ static void req_grow_allocation(struct smbsrv_request *req, uint_t new_size) To cope with this req->out.ptr is supplied. This will be updated to point at the same offset into the packet as before this call */ -void req_grow_data(struct smbsrv_request *req, uint_t new_size) +void req_grow_data(struct smbsrv_request *req, size_t new_size) { int delta; @@ -364,7 +364,7 @@ void smbsrv_send_error(struct smbsrv_request *req, NTSTATUS status) if dest_len is -1 then no limit applies */ -size_t req_push_str(struct smbsrv_request *req, uint8_t *dest, const char *str, int dest_len, uint_t flags) +size_t req_push_str(struct smbsrv_request *req, uint8_t *dest, const char *str, int dest_len, size_t flags) { size_t len; uint_t grow_size; |