Module: wine Branch: master Commit: b66e00cb09b4cadb7a64ae5b0140c128d87c6335 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b66e00cb09b4cadb7a64ae5b01...
Author: Vitaliy Margolen wine-patches@kievinfo.com Date: Sun Jan 9 15:43:12 2011 -0700
dinput: COM cleanup - return interface instead of typecasting This.
---
dlls/dinput/effect_linuxinput.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dinput/effect_linuxinput.c b/dlls/dinput/effect_linuxinput.c index e35a96f..b7c27cd 100644 --- a/dlls/dinput/effect_linuxinput.c +++ b/dlls/dinput/effect_linuxinput.c @@ -844,7 +844,7 @@ HRESULT linuxinput_create_effect(
newEffect->entry = parent_list_entry;
- *peff = (LPDIRECTINPUTEFFECT)newEffect; + *peff = &newEffect->IDirectInputEffect_iface;
TRACE("Creating linux input system effect (%p) with guid %s\n", *peff, _dump_dinput_GUID(rguid));