comctl32/tests: Removed sign comparison warning in comboex.c
Marko Nikolic
grkoma at gmail.com
Fri Oct 1 18:29:45 CDT 2010
---
dlls/comctl32/tests/comboex.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/dlls/comctl32/tests/comboex.c b/dlls/comctl32/tests/comboex.c
index f9a42df..a747500 100644
--- a/dlls/comctl32/tests/comboex.c
+++ b/dlls/comctl32/tests/comboex.c
@@ -234,7 +234,8 @@ static void test_WM_LBUTTONDOWN(void)
COMBOBOXINFO cbInfo;
UINT x, y, item_height;
LRESULT result;
- int i, idx;
+ UINT i;
+ int idx;
RECT rect;
WCHAR buffer[3];
static const UINT choices[] = {8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72};
@@ -503,16 +504,16 @@ static void test_get_set_item(void)
item.lParam = 0xdeadbeef;
ret = SendMessage(hComboEx, CBEM_GETITEMA, 0, (LPARAM)&item);
expect(TRUE, ret);
- ok(item.lParam == 0, "Expected zero, got %ld\n", item.lParam);
+ ok(item.lParam == 0, "Expected zero, got %lx\n", item.lParam);
- item.lParam = 0xdeadbeef;
+ item.lParam = 0x1abe11ed;
ret = SendMessage(hComboEx, CBEM_SETITEMA, 0, (LPARAM)&item);
expect(TRUE, ret);
item.lParam = 0;
ret = SendMessage(hComboEx, CBEM_GETITEMA, 0, (LPARAM)&item);
expect(TRUE, ret);
- ok(item.lParam == 0xdeadbeef, "Expected 0xdeadbeef, got %ld\n", item.lParam);
+ ok(item.lParam == 0x1abe11ed, "Expected 0x1abe11ed, got %lx\n", item.lParam);
DestroyWindow(hComboEx);
}
--
1.7.0.4
More information about the wine-patches
mailing list