Fix raw_vcall crash on Linux/OS X x64

develop
lethosor 2016-10-26 09:34:14 -04:00
parent 2c230f0d3e
commit defedb351e
1 changed files with 2 additions and 1 deletions

@ -1086,7 +1086,8 @@ __declspec(naked) static int raw_vcall(void *that, void *fptr, unsigned long a0,
static int raw_vcall(void *that, void *fptr, unsigned long a0,
unsigned long a1, unsigned long a2, unsigned long a3, unsigned long a4, unsigned long a5)
{
int (*t_fptr)(void *me, int, int, int, int, int, int);
int (*t_fptr)(void *me, unsigned long, unsigned long, unsigned long,
unsigned long, unsigned long, unsigned long);
t_fptr = (decltype(t_fptr))fptr;
return t_fptr(that, a0, a1, a2, a3, a4, a5);
}