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

Michael Stefaniuc mstefani at redhat.de
Tue Jul 19 08:25:35 CDT 2011


---
 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)
     {
-- 
1.7.6



More information about the wine-patches mailing list