From fcd718c7d8a6850ae8719f23ed044b06b57501cd Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 25 May 2004 17:50:17 +0000 Subject: r890: convert samba4 to use [u]int8_t instead of [u]int8 metze (This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f) --- source4/smb_server/smb_server.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/smb_server/smb_server.c') diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c index 9d971383b5..5eded2b85b 100644 --- a/source4/smb_server/smb_server.c +++ b/source4/smb_server/smb_server.c @@ -25,7 +25,7 @@ /* send an oplock break request to a client */ -BOOL req_send_oplock_break(struct tcon_context *conn, uint16_t fnum, uint8 level) +BOOL req_send_oplock_break(struct tcon_context *conn, uint16_t fnum, uint8_t level) { struct request_context *req; @@ -415,7 +415,7 @@ static const struct smb_message_struct /**************************************************************************** return a string containing the function name of a SMB command ****************************************************************************/ -static const char *smb_fn_name(uint8 type) +static const char *smb_fn_name(uint8_t type) { const char *unknown_name = "SMBunknown"; @@ -550,7 +550,7 @@ static void switch_message(int type, struct request_context *req) ****************************************************************************/ static void construct_reply(struct request_context *req) { - uint8 type = CVAL(req->in.hdr,HDR_COM); + uint8_t type = CVAL(req->in.hdr,HDR_COM); /* see if its a special NBT packet */ if (CVAL(req->in.buffer,0) != 0) { -- cgit