Michael Stefaniuc : comctl32/tests: Don't cast NULL to an int.

Alexandre Julliard julliard at winehq.org
Tue Jul 19 12:42:55 CDT 2011


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Jul 19 15:25:35 2011 +0200

comctl32/tests: Don't cast NULL to an int.

---

 dlls/comctl32/tests/propsheet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/tests/propsheet.c b/dlls/comctl32/tests/propsheet.c
index c6e3e9f..f6b4c7d 100644
--- a/dlls/comctl32/tests/propsheet.c
+++ b/dlls/comctl32/tests/propsheet.c
@@ -650,7 +650,7 @@ static LRESULT CALLBACK sheet_callback_messages_proc (HWND hwnd, UINT msg, WPARA
 
 static int CALLBACK sheet_callback_messages(HWND hwnd, UINT msg, LPARAM lParam)
 {
-    save_message(hwnd, msg, (WPARAM)NULL, lParam, RECEIVER_SHEET_CALLBACK);
+    save_message(hwnd, msg, 0, lParam, RECEIVER_SHEET_CALLBACK);
 
     switch (msg)
     {




More information about the wine-cvs mailing list