Module: wine Branch: master Commit: 6aa6fc8a46aeb41af89557653849305e3ad90685 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6aa6fc8a46aeb41af895576538...
Author: Aric Stewart aric@codeweavers.com Date: Thu Oct 2 07:42:34 2008 -0500
user32/tests: GetMenuItemCount returns an INT which can be -1 (Coverity 543).
---
dlls/user32/tests/menu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/tests/menu.c b/dlls/user32/tests/menu.c index 0eabe50..6c60335 100644 --- a/dlls/user32/tests/menu.c +++ b/dlls/user32/tests/menu.c @@ -2148,7 +2148,7 @@ static void test_menu_resource_layout(void) { MF_SEPARATOR, MF_GRAYED|MF_DISABLED, 8, "" } }; HMENU hmenu; - UINT count, i; + INT count, i; BOOL ret;
hmenu = LoadMenuIndirect(&menu_template);