dinput: Fix typo.

This commit is contained in:
Vitaliy Margolen 2007-07-28 20:09:43 -06:00 committed by Alexandre Julliard
parent 8707021aae
commit ed4f1e8ec7
1 changed files with 2 additions and 2 deletions

View File

@ -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,