Alexandre Julliard : d3d9/tests: Fix some pointer cast warnings on 64-bit.
Alexandre Julliard
julliard at winehq.org
Wed Dec 9 10:46:26 CST 2009
Module: wine
Branch: master
Commit: 506a62776c4b3246cb6a043fff834920bd5475ef
URL: http://source.winehq.org/git/wine.git/?a=commit;h=506a62776c4b3246cb6a043fff834920bd5475ef
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Dec 9 12:04:27 2009 +0100
d3d9/tests: Fix some pointer cast warnings on 64-bit.
---
dlls/d3d9/tests/stateblock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d9/tests/stateblock.c b/dlls/d3d9/tests/stateblock.c
index f580062..9430ab2 100644
--- a/dlls/d3d9/tests/stateblock.c
+++ b/dlls/d3d9/tests/stateblock.c
@@ -1974,7 +1974,7 @@ static void resource_test_data_init(IDirect3DDevice9 *device,
static void resource_poison_data_init(struct resource_test_data *data, const struct resource_test_arg *arg)
{
- DWORD poison = 0xdeadbeef;
+ DWORD_PTR poison = 0xdeadbeef;
unsigned int i;
data->decl = (IDirect3DVertexDeclaration9 *)poison++;
More information about the wine-cvs
mailing list