=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: d3dx9_36: Cast D3DPARAMETER_TYPE * to DWORD *.
Alexandre Julliard
julliard at winehq.org
Mon Jan 6 14:47:14 CST 2014
Module: wine
Branch: master
Commit: e1a845c2139064f0b8bf7cd5e78e2ccd682ac589
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e1a845c2139064f0b8bf7cd5e78e2ccd682ac589
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Fri Jan 3 14:17:16 2014 +0100
d3dx9_36: Cast D3DPARAMETER_TYPE * to DWORD *.
---
dlls/d3dx9_36/effect.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c
index 547e810..ac13c72 100644
--- a/dlls/d3dx9_36/effect.c
+++ b/dlls/d3dx9_36/effect.c
@@ -4398,10 +4398,10 @@ static HRESULT d3dx9_parse_effect_typedef(struct d3dx_parameter *param, const ch
if (!parent)
{
- read_dword(ptr, ¶m->type);
+ read_dword(ptr, (DWORD *)¶m->type);
TRACE("Type: %s\n", debug_d3dxparameter_type(param->type));
- read_dword(ptr, ¶m->class);
+ read_dword(ptr, (DWORD *)¶m->class);
TRACE("Class: %s\n", debug_d3dxparameter_class(param->class));
read_dword(ptr, &offset);
More information about the wine-cvs
mailing list