fix fastcall/thiscall and warning

fix fastcall/thiscall and warning