Convert all uses of uint8/16/32 to _t in source3/smbd.
[kai/samba-autobuild/.git] / source3 / smbd / open.c
index 7a842073cb0b758be78e25b9ec2a69db9328cf63..809fa352dfce31e75e7d81042f46ae1049cd647a 100644 (file)
@@ -1130,7 +1130,7 @@ static void validate_my_share_entries(struct smbd_server_connection *sconn,
                          "share entry with an open file\n");
        }
 
-       if (((uint16)fsp->oplock_type) != share_entry->op_type) {
+       if (((uint16_t)fsp->oplock_type) != share_entry->op_type) {
                goto panic;
        }
 
@@ -1261,7 +1261,7 @@ NTSTATUS send_break_message(struct messaging_context *msg_ctx,
 
        /* Overload entry->op_type */
        /*
-        * This is a cut from uint32_t to uint16, but so far only the lower 3
+        * This is a cut from uint32_t to uint16_t, but so far only the lower 3
         * bits (LEASE_WRITE/HANDLE/READ are used anyway.
         */
        SSVAL(msg,OP_BREAK_MSG_OP_TYPE_OFFSET, break_to);