Index: chrome/installer/gcapi/gcapi.cc |
diff --git a/chrome/installer/gcapi/gcapi.cc b/chrome/installer/gcapi/gcapi.cc |
index ae22fa811d3b628cd2910475a5f52ba0b4138d23..8a88a474bec1a8c9787d291d490aea70483cdc01 100644 |
--- a/chrome/installer/gcapi/gcapi.cc |
+++ b/chrome/installer/gcapi/gcapi.cc |
@@ -316,7 +316,8 @@ bool IsRunningElevated() { |
} |
bool GetUserIdForProcess(size_t pid, wchar_t** user_sid) { |
- HANDLE process_handle = ::OpenProcess(PROCESS_QUERY_INFORMATION, TRUE, pid); |
+ HANDLE process_handle = |
+ ::OpenProcess(PROCESS_QUERY_INFORMATION, TRUE, static_cast<DWORD>(pid)); |
if (process_handle == NULL) |
return false; |