diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-12-04 13:56:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:21 -0500 |
commit | 9112a632f6791ffc3c3c1aadd214cbaba8fe816e (patch) | |
tree | 129b941d550b15e919461dedcde286f1697ba94d /source4/smb_server/search.c | |
parent | 4127edc1afd702ac3bcb77893ba864eb98729451 (diff) | |
download | samba-9112a632f6791ffc3c3c1aadd214cbaba8fe816e.tar.gz samba-9112a632f6791ffc3c3c1aadd214cbaba8fe816e.tar.bz2 samba-9112a632f6791ffc3c3c1aadd214cbaba8fe816e.zip |
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)
Diffstat (limited to 'source4/smb_server/search.c')
-rw-r--r-- | source4/smb_server/search.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/smb_server/search.c b/source4/smb_server/search.c index a0bc5b764b..b017c996ef 100644 --- a/source4/smb_server/search.c +++ b/source4/smb_server/search.c @@ -70,7 +70,7 @@ struct search_state { static BOOL find_fill_info(struct smbsrv_request *req, union smb_search_data *file) { - char *p; + uint8_t *p; if (req->out.data_size + 43 > req_max_data(req)) { return False; @@ -111,7 +111,7 @@ void reply_search(struct smbsrv_request *req) union smb_search_next *sn; uint16_t resume_key_length; struct search_state state; - char *p; + uint8_t *p; NTSTATUS status; enum smb_search_level level = RAW_SEARCH_SEARCH; uint8_t op = CVAL(req->in.hdr,HDR_COM); @@ -225,7 +225,7 @@ void reply_fclose(struct smbsrv_request *req) { union smb_search_close *sc; uint16_t resume_key_length; - char *p; + uint8_t *p; const char *pattern; REQ_TALLOC(sc); |