summaryrefslogtreecommitdiffstats
path: root/base/win_util.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/win_util.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/win_util.cc')
-rw-r--r--base/win_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/win_util.cc b/base/win_util.cc
index 478a5a6..a5b46f5 100644
--- a/base/win_util.cc
+++ b/base/win_util.cc
@@ -345,7 +345,7 @@ bool UserAccountControlIsEnabled() {
// If the ASSERT below fails, please install Visual Studio 2005 Service Pack 1.
//
extern char VisualStudio2005ServicePack1Detection[10];
-COMPILE_ASSERT(sizeof(&VisualStudio2005ServicePack1Detection) == 4,
+COMPILE_ASSERT(sizeof(&VisualStudio2005ServicePack1Detection) == sizeof(void*),
VS2005SP1Detect);
//
// Chrome requires at least Service Pack 1 for Visual Studio 2005.