Chromium Code Reviews| Index: chrome/app/close_handle_hook_win.cc |
| diff --git a/chrome/app/close_handle_hook_win.cc b/chrome/app/close_handle_hook_win.cc |
| index efec307a62a511e6dc57838bddceab0918224d8c..0c9af549bbeafa9c97ea4331523395775788f923 100644 |
| --- a/chrome/app/close_handle_hook_win.cc |
| +++ b/chrome/app/close_handle_hook_win.cc |
| @@ -142,7 +142,7 @@ void EATPatch(HMODULE module, const char* function_name, |
| // Perform the patch. |
| #pragma warning(push) |
| -#pragma warning(disable: 4311) |
| +#pragma warning(disable : 4311 4302) |
|
Nico
2015/11/16 21:31:07
why the space in front of :? clang-format?
brucedawson
2015/11/17 00:24:39
Correct. I had to double-check, but I verified tha
|
| // These casts generate warnings because they are 32 bit specific. |
| *eat_entry = reinterpret_cast<DWORD>(new_function) - |
| reinterpret_cast<DWORD>(module); |