mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
comctl32/tests: Avoid size_t printf format warnings.
This commit is contained in:
parent
716ecc42f9
commit
9dd61548bb
1 changed files with 4 additions and 4 deletions
|
@ -1109,14 +1109,14 @@ static void test_getstring(void)
|
|||
r = SendMessage(hToolbar, TB_ADDSTRING, 0, (LPARAM)answer);
|
||||
expect(0, r);
|
||||
r = SendMessage(hToolbar, TB_GETSTRING, MAKEWPARAM(0, 0), (LPARAM)NULL);
|
||||
expect(strlen(answer), r);
|
||||
expect(lstrlenA(answer), r);
|
||||
r = SendMessage(hToolbar, TB_GETSTRINGW, MAKEWPARAM(0, 0), (LPARAM)NULL);
|
||||
expect(strlen(answer), r);
|
||||
expect(lstrlenA(answer), r);
|
||||
r = SendMessage(hToolbar, TB_GETSTRING, MAKEWPARAM(sizeof(str), 0), (LPARAM)str);
|
||||
expect(strlen(answer), r);
|
||||
expect(lstrlenA(answer), r);
|
||||
expect(0, lstrcmp(answer, str));
|
||||
r = SendMessage(hToolbar, TB_GETSTRINGW, MAKEWPARAM(sizeof(strW), 0), (LPARAM)strW);
|
||||
expect(strlen(answer), r);
|
||||
expect(lstrlenA(answer), r);
|
||||
expect(0, lstrcmpW(answerW, strW));
|
||||
|
||||
DestroyWindow(hToolbar);
|
||||
|
|
Loading…
Reference in a new issue