d3d8: fix printf format
Marcin Baczyński
marbacz at gmail.com
Tue Jan 5 18:19:44 CST 2010
---
Pointer difference is long int on 64 bit systems.
This silences GCC warning when configured with --enable-win64.
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..d5657a3 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 %lu(%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