[PATCH] dlls/d3dxof: don't cast ptrdiff_t to ULONG in traces, use %I instead
Eric Pouech
eric.pouech at gmail.com
Mon Apr 11 02:43:22 CDT 2022
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
dlls/d3dxof/parsing.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c
index 8431078949f9..7688e846bf51 100644
--- a/dlls/d3dxof/parsing.c
+++ b/dlls/d3dxof/parsing.c
@@ -274,8 +274,8 @@ HRESULT parse_header(parse_buffer * buf, BYTE ** decomp_buffer_ptr)
}
if ((decomp_buffer - *decomp_buffer_ptr) != decomp_file_size)
- ERR("Size of all decompressed chunks (%u) does not match decompressed file size (%u)\n",
- (DWORD)(decomp_buffer - *decomp_buffer_ptr), decomp_file_size);
+ ERR("Size of all decompressed chunks (%Iu) does not match decompressed file size (%u)\n",
+ decomp_buffer - *decomp_buffer_ptr, decomp_file_size);
/* Use decompressed data */
buf->buffer = *decomp_buffer_ptr;
More information about the wine-devel
mailing list