Enforce proper calling convention on x86.

This commit is contained in:
Bartosz Taudul 2017-10-30 21:46:50 +01:00
parent cf3d8eb810
commit 230822e18c

View File

@ -30,7 +30,7 @@ public:
HANDLE Handle() const { return m_hnd; }
private:
static DWORD Launch( void* ptr ) { ((Thread*)ptr)->m_func( ((Thread*)ptr)->m_ptr ); return 0; }
static DWORD WINAPI Launch( void* ptr ) { ((Thread*)ptr)->m_func( ((Thread*)ptr)->m_ptr ); return 0; }
void(*m_func)( void* ptr );
void* m_ptr;