Commit 0e50a00e authored by Alexandre Julliard's avatar Alexandre Julliard

d3dx11: Fix printf format warnings on 64-bit.

parent e7d0bf36
......@@ -219,7 +219,7 @@ HRESULT WINAPI D3DX11CompileFromMemory(const char *data, SIZE_T data_size, const
const char *target, UINT sflags, UINT eflags, ID3DX11ThreadPump *pump, ID3D10Blob **shader,
ID3D10Blob **error_messages, HRESULT *hresult)
{
TRACE("data %s, data_size %lu, filename %s, defines %p, include %p, entry_point %s, target %s, "
TRACE("data %s, data_size %Iu, filename %s, defines %p, include %p, entry_point %s, target %s, "
"sflags %#x, eflags %#x, pump %p, shader %p, error_messages %p, hresult %p.\n",
debugstr_an(data, data_size), data_size, debugstr_a(filename), defines, include,
debugstr_a(entry_point), debugstr_a(target), sflags, eflags, pump, shader,
......@@ -277,7 +277,7 @@ HRESULT WINAPI D3DX11CreateAsyncMemoryLoader(const void *data, SIZE_T data_size,
{
struct asyncdataloader *object;
TRACE("data %p, data_size %lu, loader %p.\n", data, data_size, loader);
TRACE("data %p, data_size %Iu, loader %p.\n", data, data_size, loader);
if (!data || !loader)
return E_FAIL;
......
......@@ -70,7 +70,7 @@ HRESULT WINAPI D3DX11GetImageInfoFromFileW(const WCHAR *filename, ID3DX11ThreadP
HRESULT WINAPI D3DX11GetImageInfoFromMemory(const void *src_data, SIZE_T src_data_size, ID3DX11ThreadPump *pump,
D3DX11_IMAGE_INFO *img_info, HRESULT *hresult)
{
FIXME("src_data %p, src_data_size %lu, pump %p, img_info %p, hresult %p stub!\n",
FIXME("src_data %p, src_data_size %Iu, pump %p, img_info %p, hresult %p stub!\n",
src_data, src_data_size, pump, img_info, hresult);
return E_NOTIMPL;
......
......@@ -27,7 +27,7 @@ HRESULT WINAPI D3DX11CreateShaderResourceViewFromMemory(ID3D11Device *device, co
SIZE_T data_size, D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump,
ID3D11ShaderResourceView **view, HRESULT *hresult)
{
FIXME("device %p, data %p, data_size %lu, load_info %p, pump %p, view %p, hresult %p stub!\n",
FIXME("device %p, data %p, data_size %Iu, load_info %p, pump %p, view %p, hresult %p stub!\n",
device, data, data_size, load_info, pump, view, hresult);
return E_NOTIMPL;
......@@ -57,7 +57,7 @@ HRESULT WINAPI D3DX11CreateTextureFromMemory(ID3D11Device *device, const void *d
SIZE_T data_size, D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump,
ID3D11Resource **texture, HRESULT *hresult)
{
FIXME("device %p, data %p, data_size %lu, load_info %p, pump %p, texture %p, hresult %p stub.\n",
FIXME("device %p, data %p, data_size %Iu, load_info %p, pump %p, texture %p, hresult %p stub.\n",
device, data, data_size, load_info, pump, texture, hresult);
return E_NOTIMPL;
......
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