Fix incorrect type for Windows x64 builds.

Originally committed to SVN as r2334.
This commit is contained in:
Niels Martin Hansen 2008-09-10 14:45:46 +00:00
parent 9bc1f9b4d7
commit f89b9d6c43

View file

@ -105,7 +105,7 @@ void SetThreadName(DWORD dwThreadID, LPCSTR szThreadName) {
info.dwThreadID = dwThreadID; info.dwThreadID = dwThreadID;
info.dwFlags = 0; info.dwFlags = 0;
__try { __try {
RaiseException(MS_VC_EXCEPTION, 0, sizeof(info) / sizeof(DWORD), (DWORD *)&info); RaiseException(MS_VC_EXCEPTION, 0, sizeof(info) / sizeof(DWORD), (ULONG_PTR *)&info);
} }
__except (EXCEPTION_CONTINUE_EXECUTION) {} __except (EXCEPTION_CONTINUE_EXECUTION) {}
} }