Aric Stewart : user32/tests: GetMenuItemCount returns an INT which can be -1 (Coverity 543).
Alexandre Julliard
julliard at winehq.org
Thu Oct 2 11:37:22 CDT 2008
Module: wine
Branch: master
Commit: 6aa6fc8a46aeb41af89557653849305e3ad90685
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6aa6fc8a46aeb41af89557653849305e3ad90685
Author: Aric Stewart <aric at 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);
More information about the wine-cvs
mailing list