| Index: content/child/npapi/webplugin_delegate_impl_win.cc
|
| diff --git a/content/child/npapi/webplugin_delegate_impl_win.cc b/content/child/npapi/webplugin_delegate_impl_win.cc
|
| index d64af01c4fdb989cbb2ff0049d7983a3bedfeae9..6033fe3ee6b1820afde59b1a11102e9ae46150eb 100644
|
| --- a/content/child/npapi/webplugin_delegate_impl_win.cc
|
| +++ b/content/child/npapi/webplugin_delegate_impl_win.cc
|
| @@ -595,7 +595,8 @@ void WebPluginDelegateImpl::ThrottleMessage(WNDPROC proc, HWND hwnd,
|
| UINT message, WPARAM wParam,
|
| LPARAM lParam) {
|
| MSG msg;
|
| - msg.time = reinterpret_cast<DWORD>(proc);
|
| + // Cast through uintptr_t and then DWORD to make the truncation explicit.
|
| + msg.time = static_cast<DWORD>(reinterpret_cast<uintptr_t>(proc));
|
| msg.hwnd = hwnd;
|
| msg.message = message;
|
| msg.wParam = wParam;
|
|
|