]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Avoid a cast
authorVolker Lendecke <vl@samba.org>
Tue, 25 Jun 2024 14:11:16 +0000 (16:11 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 28 Jun 2024 13:26:24 +0000 (13:26 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/dosmode.c

index dcb76012dad5cef99c00b2cda2600ab45afab947..d7999775c262665edd287a51e3b41f279b3b87d1 100644 (file)
@@ -68,7 +68,9 @@ static void dos_mode_debug_print(const char *func, uint32_t mode)
                fstrcat(modestr, "[reparse_point]");
        }
 
-       DBG_INFO("%s returning (0x%x): \"%s\"\n", func, (unsigned)mode,
+       DBG_INFO("%s returning (0x%" PRIx32 "): \"%s\"\n",
+                func,
+                mode,
                 modestr);
 }