From 9112a632f6791ffc3c3c1aadd214cbaba8fe816e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 4 Dec 2004 13:56:25 +0000 Subject: r4063: - change char * -> uint8_t in struct request_buffer - change smbcli_read/write to take void * for the buffers to match read(2)/write(2) all this fixes a lot of gcc-4 warnings metze (This used to be commit b94f92bc6637f748d6f7049f4f9a30b0b8d18a7a) --- source4/include/request.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/include/request.h') diff --git a/source4/include/request.h b/source4/include/request.h index fc5fa8442a..587adeef21 100644 --- a/source4/include/request.h +++ b/source4/include/request.h @@ -29,7 +29,7 @@ struct request_buffer { /* the raw SMB buffer, including the 4 byte length header */ - char *buffer; + uint8_t *buffer; /* the size of the raw buffer, including 4 byte header */ uint_t size; @@ -40,15 +40,15 @@ struct request_buffer { uint_t allocated; /* the start of the SMB header - this is always buffer+4 */ - char *hdr; + uint8_t *hdr; /* the command words and command word count. vwv points into the raw buffer */ - char *vwv; + uint8_t *vwv; uint_t wct; /* the data buffer and size. data points into the raw buffer */ - char *data; + uint8_t *data; uint_t data_size; /* ptr is used as a moving pointer into the data area @@ -56,7 +56,7 @@ struct request_buffer { * variable in each function is that when a realloc of * a send packet is done we need to move this * pointer */ - char *ptr; + uint8_t *ptr; }; #endif -- cgit