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

Alexandre Julliard julliard at winehq.org
Mon Apr 16 13:35:45 CDT 2012


Module: wine
Branch: master
Commit: 25ed3b9572a3b381887ed8563799aaefbe598a09
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=25ed3b9572a3b381887ed8563799aaefbe598a09

Author: Michael Stefaniuc <mstefani at 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);




More information about the wine-cvs mailing list