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

Michael Stefaniuc mstefani at redhat.de
Sun Apr 15 15:02:17 CDT 2012


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



More information about the wine-patches mailing list