1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

smbd: Avoid a cast

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Volker Lendecke 2024-11-24 12:04:05 +01:00 committed by Martin Schwenke
parent 421cab80d8
commit ae7e1cb053

View File

@ -132,9 +132,9 @@ static NTSTATUS smbd_check_access_rights_fname(
if (!use_privs && get_current_uid(conn) == (uid_t)0) {
/* I'm sorry sir, I didn't know you were root... */
DBG_DEBUG("root override on %s. Granting 0x%x\n",
DBG_DEBUG("root override on %s. Granting 0x%" PRIx32 "\n",
smb_fname_str_dbg(smb_fname),
(unsigned int)access_mask);
access_mask);
return NT_STATUS_OK;
}