d3d8: Fix a ptrdiff_t warning on 64-bit.
Nicolas Le Cam
niko.lecam at gmail.com
Sun Jan 10 16:09:50 CST 2010
--
Nicolas Le Cam
-------------- next part --------------
From 869e9aa9c97581f890c56f1829fe1721391ccae2 Mon Sep 17 00:00:00 2001
From: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Mon, 21 Dec 2009 21:22:43 +0100
Subject: d3d8: Fix a ptrdiff_t warning on 64-bit.
---
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.3.3
More information about the wine-patches
mailing list