Alexandre Julliard : riched32/tests: Avoid using size_t in traces.
Alexandre Julliard
julliard at winehq.org
Fri Dec 14 07:39:52 CST 2007
Module: wine
Branch: master
Commit: 10bcc6200b720baf57e10a085283a9b1ce26f65a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=10bcc6200b720baf57e10a085283a9b1ce26f65a
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Dec 14 14:31:40 2007 +0100
riched32/tests: Avoid using size_t in traces.
---
dlls/riched32/tests/editor.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/riched32/tests/editor.c b/dlls/riched32/tests/editor.c
index 4b86e23..66a3090 100644
--- a/dlls/riched32/tests/editor.c
+++ b/dlls/riched32/tests/editor.c
@@ -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);
}
More information about the wine-cvs
mailing list