Work-around for gcc bug.

This commit is contained in:
Alexandre Julliard 2000-10-12 20:55:26 +00:00
parent a9d3fab147
commit 3f2b2d5ef4
1 changed files with 3 additions and 1 deletions

View File

@ -156,6 +156,8 @@ static inline void RELAY_PrintArgs( int *args, int nb_args, unsigned int typemas
}
typedef LONGLONG WINAPI (*LONGLONG_FARPROC)();
/***********************************************************************
* RELAY_CallFrom32
*
@ -234,7 +236,7 @@ static LONGLONG RELAY_CallFrom32( int ret_addr, ... )
}
else /* stdcall */
{
LONGLONG (WINAPI *func)() = relay->orig;
LONGLONG_FARPROC func = relay->orig;
switch(nb_args)
{
case 0: ret = func(); break;