Clean up some const and other compiler warnings.
[samba.git] / source4 / torture / raw / open.c
index 89042d77dc2cc74fed6051e3ed301421e66a73bf..beb629069f67e2ed6f4e71e0d0dcb04a45d7b0fb 100644 (file)
@@ -152,7 +152,7 @@ static const char *rdwr_string(enum rdwr_mode m)
        status = smb_raw_setpathinfo(cli->tree, &sfinfo); \
        if (!NT_STATUS_IS_OK(status)) { \
                torture_warning(tctx, "(%s) Failed to set attrib 0x%x on %s\n", \
-                      __location__, sattrib, fname); \
+                      __location__, (int)sattrib, fname); \
        }} while (0)
 
 /*