summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/smb_server.c')
-rw-r--r--source4/smb_server/smb_server.c6
1 files changed, 3 insertions, 3 deletions
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) {