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
Родитель abada7c3fd
Коммит daa337a539
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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))