summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-20 22:35:45 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-20 22:35:45 +0000
commit507cdb038858aae2c4d500d6d18dd55035663c4b (patch)
treec0e6d5953f0e69d3069de353c96b6765055b7a62
parent13ef7c08cafb5d39c17a3b3e32f0ecf3a1107e2b (diff)
downloadchromium_src-507cdb038858aae2c4d500d6d18dd55035663c4b.zip
chromium_src-507cdb038858aae2c4d500d6d18dd55035663c4b.tar.gz
chromium_src-507cdb038858aae2c4d500d6d18dd55035663c4b.tar.bz2
* fix build error
Review URL: http://codereview.chromium.org/11548 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5793 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-xchrome/browser/first_run.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/first_run.cc b/chrome/browser/first_run.cc
index a3ea8bb..c0e6c5f 100755
--- a/chrome/browser/first_run.cc
+++ b/chrome/browser/first_run.cc
@@ -93,7 +93,8 @@ bool InvokeGoogleUpdateForRename() {
google_update::kRegRenameCmdField,
id, &phandle))) {
HANDLE handle = HANDLE(phandle);
- ::GetExitCodeProcess(handle, exit_code);
+ DWORD exit_code;
+ ::GetExitCodeProcess(handle, &exit_code);
::CloseHandle(handle);
if (exit_code == installer_util::RENAME_SUCCESSFUL)
return true;