summaryrefslogtreecommitdiffstats
path: root/base/thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/thread.cc')
-rw-r--r--base/thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/thread.cc b/base/thread.cc
index 6908b9f..cec558b 100644
--- a/base/thread.cc
+++ b/base/thread.cc
@@ -138,7 +138,7 @@ void Thread::SetThreadName(const char* name, DWORD tid) {
__try {
RaiseException(MS_VC_EXCEPTION, 0,
sizeof(info)/sizeof(DWORD),
- reinterpret_cast<DWORD*>(&info));
+ reinterpret_cast<DWORD_PTR *>(&info));
} __except(EXCEPTION_CONTINUE_EXECUTION) {
}
}