user32/tests: GetMenuItemCount returns an INT which can be -1 (Coverity 543).
This commit is contained in:
parent
52b2b5b7b0
commit
6aa6fc8a46
|
@ -2148,7 +2148,7 @@ static void test_menu_resource_layout(void)
|
||||||
{ MF_SEPARATOR, MF_GRAYED|MF_DISABLED, 8, "" }
|
{ MF_SEPARATOR, MF_GRAYED|MF_DISABLED, 8, "" }
|
||||||
};
|
};
|
||||||
HMENU hmenu;
|
HMENU hmenu;
|
||||||
UINT count, i;
|
INT count, i;
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
|
|
||||||
hmenu = LoadMenuIndirect(&menu_template);
|
hmenu = LoadMenuIndirect(&menu_template);
|
||||||
|
|
Loading…
Reference in New Issue