Get rid of warning

This commit is contained in:
twinaphex 2018-04-23 17:48:31 +02:00
parent c90c98dcaa
commit 77d815a572

View File

@ -563,7 +563,7 @@ void *d3d9x_constant_table_get_constant_by_name(void *_tbl,
LPD3DXCONSTANTTABLE consttbl = (LPD3DXCONSTANTTABLE)_tbl;
LPCSTR name = (LPCSTR)_name;
if (consttbl && handle && name)
return consttbl->lpVtbl->GetConstantByName(consttbl,
return (void*)consttbl->lpVtbl->GetConstantByName(consttbl,
handle, name);
#endif
return NULL;