Michael Stefaniuc : mapi32: Use 0 instead of (wrongly) casting NULL to an integer.

Alexandre Julliard julliard at winehq.org
Fri Oct 2 11:02:19 CDT 2009


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Thu Oct  1 22:26:40 2009 +0200

mapi32: Use 0 instead of (wrongly) casting NULL to an integer.

---

 dlls/mapi32/sendmail.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mapi32/sendmail.c b/dlls/mapi32/sendmail.c
index 592d762..6bf7b0f 100644
--- a/dlls/mapi32/sendmail.c
+++ b/dlls/mapi32/sendmail.c
@@ -358,7 +358,7 @@ static ULONG sendmail_extended_mapi(LHANDLE mapi_session, ULONG_PTR uiparam, lpM
     IMsgStore_Release(msg_store);
 
 logoff: ;
-    IMAPISession_Logoff(session, (ULONG) NULL, 0, 0);
+    IMAPISession_Logoff(session, 0, 0, 0);
     IMAPISession_Release(session);
 
 cleanup: ;




More information about the wine-cvs mailing list