diff -r e305d4dbc0da -r f4d069676dc2 sourcehook/sh_memfuncinfo.h --- a/sourcehook/sh_memfuncinfo.h Fri Apr 22 14:38:04 2005 +0000 +++ b/sourcehook/sh_memfuncinfo.h Sat Apr 23 16:07:14 2005 +0000 @@ -65,9 +65,9 @@ }; int delta; }; - template static inline void GetFuncInfo(MFP *mfp, MemFuncInfo &out) + template static inline void GetFuncInfo(MFP mfp, MemFuncInfo &out) { - GCC_MemFunPtr *mfp_detail = (GCC_MemFunPtr*)mfp; + GCC_MemFunPtr *mfp_detail = (GCC_MemFunPtr*)&mfp; out.thisptroffs = mfp_detail->delta; if (mfp_detail->vtable_index_plus1 & 1) {