comctl32/tests: Removed sign comparison warning in toolbar tests.
Marko Nikolic
grkoma at gmail.com
Wed Jun 1 06:51:10 CDT 2011
---
dlls/comctl32/tests/toolbar.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/tests/toolbar.c b/dlls/comctl32/tests/toolbar.c
index 6be6769..50c4091 100644
--- a/dlls/comctl32/tests/toolbar.c
+++ b/dlls/comctl32/tests/toolbar.c
@@ -64,7 +64,7 @@ static const struct message ttgetdispinfo_parent_seq[] = {
#define compare(val, exp, format) ok((val) == (exp), #val " value " format " expected " format "\n", (val), (exp));
#define check_button_size(handle, width, height, ...) {\
- DWORD bsize = SendMessageA(handle, TB_GETBUTTONSIZE, 0, 0);\
+ LRESULT bsize = SendMessageA(handle, TB_GETBUTTONSIZE, 0, 0);\
ok(bsize == MAKELONG(width, height), "Unexpected button size - got size (%d, %d), expected (%d, %d)\n", LOWORD(bsize), HIWORD(bsize), width, height);\
}
@@ -1000,7 +1000,7 @@ static tbsize_alt_result_t tbsize_alt_results[] =
{ 20, 2, { 107, 2, 207, 102 } }
};
-static int tbsize_alt_numtests = 0;
+static DWORD tbsize_alt_numtests = 0;
#define check_sizes_todo(todomask) { \
RECT rc; \
@@ -1529,7 +1529,7 @@ static void test_setrows(void)
{
TBBUTTON buttons[9];
HWND hToolbar;
- int i;
+ DWORD i;
for (i=0; i<9; i++)
MakeButton(buttons+i, 1000+i, TBSTYLE_FLAT | TBSTYLE_CHECKGROUP, 0);
--
1.7.4.1
More information about the wine-patches
mailing list