summaryrefslogtreecommitdiffstats
path: root/base/thread.cc
diff options
context:
space:
mode:
authormaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 13:02:03 +0000
committermaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 13:02:03 +0000
commitc88873923d37e1d77d985f8fe614aaf835dcfa82 (patch)
treeef1c4f68daac23e83b2bc149c9b5802781bf3815 /base/thread.cc
parentf9fb868acd8f9977254f33fc50565a9b7bdb3295 (diff)
downloadchromium_src-c88873923d37e1d77d985f8fe614aaf835dcfa82.zip
chromium_src-c88873923d37e1d77d985f8fe614aaf835dcfa82.tar.gz
chromium_src-c88873923d37e1d77d985f8fe614aaf835dcfa82.tar.bz2
Fix most issues when building base as a x64 target.
BUG=1282556 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112 0039d316-1c4b-4281-b951-d872f2087c98
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) {
}
}