[PATCH] d3d8: fix printf format (try 2)
Marcin Baczyński
marbacz at gmail.com
Sat Jan 9 18:15:58 CST 2010
---
This silences GCC warning when configured with --enable-win64.
Changes vs try 1:
* %tu doesn't cause a warning on 32bit
dlls/d3d8/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c
index 11697b2..6fad9bb 100644
--- a/dlls/d3d8/device.c
+++ b/dlls/d3d8/device.c
@@ -175,7 +175,7 @@ static DWORD d3d8_allocate_handle(struct d3d8_handle_table *t, void *object, enu
entry = t->free_entries;
if (entry->type != D3D8_HANDLE_FREE)
{
- ERR("Handle %u(%p) is in the free list, but has type %#x.\n", (entry - t->entries), entry, entry->type);
+ ERR("Handle %tu(%p) is in the free list, but has type %#x.\n", (entry - t->entries), entry, entry->type);
return D3D8_INVALID_HANDLE;
}
t->free_entries = entry->object;
--
1.6.6
More information about the wine-patches
mailing list