riched32/tests: Avoid using size_t in traces.

This commit is contained in:
Alexandre Julliard 2007-12-14 14:31:40 +01:00
parent f0c4fdbad9
commit 10bcc6200b
1 changed files with 4 additions and 4 deletions

View File

@ -118,15 +118,15 @@ static void test_WM_GETTEXTLENGTH(void)
/* Test for WM_GETTEXTLENGTH */
SendMessage(hwndRichEdit, WM_SETTEXT, 0, (LPARAM) text3);
result = SendMessage(hwndRichEdit, WM_GETTEXTLENGTH, 0, 0);
ok(result == strlen(text3),
ok(result == lstrlen(text3),
"WM_GETTEXTLENGTH reports incorrect length %d, expected %d\n",
result, strlen(text3));
result, lstrlen(text3));
SendMessage(hwndRichEdit, WM_SETTEXT, 0, (LPARAM) text4);
result = SendMessage(hwndRichEdit, WM_GETTEXTLENGTH, 0, 0);
ok(result == strlen(text4),
ok(result == lstrlen(text4),
"WM_GETTEXTLENGTH reports incorrect length %d, expected %d\n",
result, strlen(text4));
result, lstrlen(text4));
DestroyWindow(hwndRichEdit);
}