s4:torture: correctly cast printf() argument
[gd/samba-autobuild/.git] / source4 / torture / smb2 / create.c
index 3fd99de0a3a11a636d30e8c3f339adf1d3a9039d..f3eca493e4bafc35e292fd7f0c0cc0054e747e0f 100644 (file)
        if (!NT_STATUS_IS_OK(status)) { \
                torture_comment(tctx, \
                    "(%s) Failed to set attrib 0x%x on %s\n", \
-                      __location__, sattrib, fname); \
+                      __location__, (unsigned int)(sattrib), fname); \
        }} while (0)
 
 /*