OSDN Git Service

Try to enable 64bit compile
[tortoisegit/TortoiseGitJp.git] / src / Utils / DebugHelpers.cpp
index 8d5bae4..f550450 100644 (file)
@@ -78,7 +78,7 @@ void SetThreadName(DWORD dwThreadID, LPCTSTR szThreadName)
        __try\r
        {\r
                RaiseException(MS_VC_EXCEPTION, 0, sizeof(info) / sizeof(DWORD),\r
-                       (DWORD *)&info);\r
+                       (const ULONG_PTR *)&info);\r
        }\r
        __except (EXCEPTION_CONTINUE_EXECUTION)\r
        {\r