Last Comment Bug 670912 - nptest_windows.cpp fails to compile on mingw-w64
: nptest_windows.cpp fails to compile on mingw-w64
Product: Core
Classification: Components
Component: Plug-ins (show other bugs)
: Trunk
: x86_64 Windows 7
-- normal (vote)
: mozilla8
Assigned To: Jacek Caban
: Benjamin Smedberg [:bsmedberg]
Depends on:
  Show dependency treegraph
Reported: 2011-07-12 06:18 PDT by Jacek Caban
Modified: 2011-07-26 11:07 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

fix v1.0 (949 bytes, patch)
2011-07-12 06:18 PDT, Jacek Caban
benjamin: review+
Details | Diff | Splinter Review

Description User image Jacek Caban 2011-07-12 06:18:56 PDT
Created attachment 545368 [details] [diff] [review]
fix v1.0

I get following error:

nptest_windows.cpp:511:42: error: narrowing conversion of 'uMsg' from 'UINT' to 'uint16_t' inside { }

An explicit cast fixes the problem.

Note You need to log in before you can comment on or make changes to this bug.