dinput: Fix typo.
This commit is contained in:
parent
8707021aae
commit
ed4f1e8ec7
|
@ -1208,12 +1208,12 @@ static const IDirectInputDevice8AVtbl JoystickAvt =
|
||||||
};
|
};
|
||||||
|
|
||||||
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
|
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
|
||||||
# define XCAST(fun) (typeof(SysJoystickWvt.fun))
|
# define XCAST(fun) (typeof(JoystickWvt.fun))
|
||||||
#else
|
#else
|
||||||
# define XCAST(fun) (void*)
|
# define XCAST(fun) (void*)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const IDirectInputDevice8WVtbl SysJoystickWvt =
|
static const IDirectInputDevice8WVtbl JoystickWvt =
|
||||||
{
|
{
|
||||||
IDirectInputDevice2WImpl_QueryInterface,
|
IDirectInputDevice2WImpl_QueryInterface,
|
||||||
XCAST(AddRef)IDirectInputDevice2AImpl_AddRef,
|
XCAST(AddRef)IDirectInputDevice2AImpl_AddRef,
|
||||||
|
|
Loading…
Reference in New Issue