d3dx9_36: Cast D3DPARAMETER_TYPE * to DWORD *.

This commit is contained in:
Stefan Dösinger 2014-01-03 14:17:16 +01:00 committed by Alexandre Julliard
parent 87c7c961f2
commit e1a845c213
1 changed files with 2 additions and 2 deletions

View File

@ -4398,10 +4398,10 @@ static HRESULT d3dx9_parse_effect_typedef(struct d3dx_parameter *param, const ch
if (!parent)
{
read_dword(ptr, &param->type);
read_dword(ptr, (DWORD *)&param->type);
TRACE("Type: %s\n", debug_d3dxparameter_type(param->type));
read_dword(ptr, &param->class);
read_dword(ptr, (DWORD *)&param->class);
TRACE("Class: %s\n", debug_d3dxparameter_class(param->class));
read_dword(ptr, &offset);