Bug 1404147 Fix signed/unsigned comparison of uints r=jld

MozReview-Commit-ID: 7z3JocWOrW5

--HG--
extra : rebase_source : f90aacbe737deff81da9aca0f6b64cad268074f4
This commit is contained in:
Tom Ritter 2017-09-28 17:45:46 -05:00
parent 3912879fa7
commit 99edbfc566

View File

@ -231,7 +231,7 @@ DumpNeuteredMessage(HWND hwnd, UINT uMsg)
// classify messages
if (uMsg < WM_USER) {
int idx = 0;
while (mozilla::widget::gAllEvents[idx].mId != (long)uMsg &&
while (mozilla::widget::gAllEvents[idx].mId != uMsg &&
mozilla::widget::gAllEvents[idx].mStr != nullptr) {
idx++;
}