mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[0.4.14][SHELL32_APITEST] ShellHook testcase Fix compiler error (addendum to #3289)
addendum to 0.4.15-dev-1123-g0089291751
Fix a compiler error on RosBE2.1.6 GCC4.7.2 that I got when I merged this test back to 0.4.14-RC-67-gef623b1616
C:/0414rls/reactos/modules/rostests/apitests/shell32/ShellHook.cpp: In function 'LRESULT WindowProc(HWND, UINT, WPARAM, LPARAM)': C:/0414rls/reactos/modules/rostests/apitests/shell32/ShellHook.cpp:339:26: error : comparison between signed and unsigned integer expressions [-Werror=sign-compa re] cc1plus.exe: all warnings being treated as errors ninja: build stopped: subcommand failed. Fix picked from 0.4.15-dev-2662-gd30a1673d4
This commit is contained in:
parent
cfc24316a5
commit
bb786a63dd
|
@ -336,7 +336,7 @@ WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
INT i = (INT)wParam - ID_BURNING;
|
||||
DoTestEntryPart2(&s_entries[i]);
|
||||
++i;
|
||||
if (i == s_num_entries)
|
||||
if (i == (INT)s_num_entries)
|
||||
{
|
||||
PostQuitMessage(0);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue