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 25379e1..0a19a16 100644
--- a/base/thread.cc
+++ b/base/thread.cc
@@ -126,7 +126,7 @@ typedef struct tagTHREADNAME_INFO {
// On XP, you can only get the ThreadId of the current
// thread. So it is expected that you'll call this after the
// thread starts up; hence, it is static.
-void Thread::SetThreadName(const char* name, DWORD tid) {
+void Thread::SetThreadName(const char* name, unsigned int tid) {
THREADNAME_INFO info;
info.dwType = 0x1000;
info.szName = name;