riched20/tests: Don't cast NULL to an integer.

This commit is contained in:
Michael Stefaniuc 2012-04-15 22:02:17 +02:00 committed by Alexandre Julliard
parent 6ea39eed8d
commit 25ed3b9572

View file

@ -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);