From 77d815a5728e7a669557416c94a0845c3226cfcd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 23 Apr 2018 17:48:31 +0200 Subject: [PATCH] Get rid of warning --- gfx/common/d3d9_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/common/d3d9_common.c b/gfx/common/d3d9_common.c index e8cd53abe3..d71a4ceb18 100644 --- a/gfx/common/d3d9_common.c +++ b/gfx/common/d3d9_common.c @@ -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;