Changed (DWORD*) to (const ULONG_PTR*) to avoid windows-x64 debug build

error.
This commit is contained in:
jba
2010-10-22 17:08:41 -05:00
parent c7b9ea9b3b
commit 2957fdcaf7

View File

@@ -42,7 +42,7 @@ extern "C" void setThreadName ( DWORD dwThreadID, LPCSTR szThreadName )
__try
{
RaiseException( 0x406D1388, 0,
sizeof(info)/sizeof(DWORD), (DWORD*)&info );
sizeof(info)/sizeof(DWORD), (const ULONG_PTR*)&info );
}
__except(EXCEPTION_CONTINUE_EXECUTION)
{