Module: wine Branch: master Commit: 25ed3b9572a3b381887ed8563799aaefbe598a09 URL: http://source.winehq.org/git/wine.git/?a=commit;h=25ed3b9572a3b381887ed85637...
Author: Michael Stefaniuc mstefani@redhat.de Date: Sun Apr 15 22:02:17 2012 +0200
riched20/tests: Don't cast NULL to an integer.
---
dlls/riched20/tests/editor.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c index 83c24f8..9347ed7 100644 --- a/dlls/riched20/tests/editor.c +++ b/dlls/riched20/tests/editor.c @@ -6366,7 +6366,7 @@ static void test_format_rect(void)
/* Reset to default rect and check how the format rect adjusts to window * resize and how it copes with very small windows */ - SendMessageA(hwnd, EM_SETRECT, 0, (LPARAM)NULL); + SendMessageA(hwnd, EM_SETRECT, 0, 0);
MoveWindow(hwnd, 0, 0, 100, 30, FALSE); GetClientRect(hwnd, &clientRect);