Commit ae926699 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

d3dxof: Don't cast ptrdiff_t to ULONG in traces, use %I instead.

parent 74adbac2
......@@ -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 (%lu) does not match decompressed file size (%lu).\n",
(DWORD)(decomp_buffer - *decomp_buffer_ptr), decomp_file_size);
ERR("Size of all decompressed chunks (%Iu) does not match decompressed file size (%lu).\n",
decomp_buffer - *decomp_buffer_ptr, decomp_file_size);
/* Use decompressed data */
buf->buffer = *decomp_buffer_ptr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment