Bug 670912 - nptest_windows.cpp fails to compile on mingw-w64 r=benjamin

This commit is contained in:
Jacek Caban 2011-07-26 12:24:20 +02:00
parent e6d7be7e60
commit c710c17150

View File

@ -508,7 +508,7 @@ LRESULT CALLBACK PluginWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPara
if (!pInstance)
return 0;
NPEvent event = { uMsg, wParam, lParam };
NPEvent event = { static_cast<uint16_t>(uMsg), wParam, lParam };
LRESULT result = 0;
if (handleEventInternal(pInstance, &event, &result))