[vlc-devel] commit: Fix warning (the parameter is an integer, not a pointer) ( Rémi Duraffort )

git version control git at videolan.org
Thu Jun 25 10:09:44 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jun 25 09:44:59 2009 +0200| [179ac3162477566bd9c32421cfaf9560e27e0b5a] | committer: Rémi Duraffort 

Fix warning (the parameter is an integer, not a pointer)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=179ac3162477566bd9c32421cfaf9560e27e0b5a
---

 modules/misc/notify/msn.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/notify/msn.c b/modules/misc/notify/msn.c
index f177f1d..82d538a 100644
--- a/modules/misc/notify/msn.c
+++ b/modules/misc/notify/msn.c
@@ -193,7 +193,7 @@ static int SendToMSN( const char *psz_msg )
     wchar_t buffer[MSN_MAX_LENGTH];
 
     //mbstowcs( buffer, psz_msg, MSN_MAX_LENGTH );
-    int nLen = MultiByteToWideChar(CP_ACP, 0, psz_msg, -1, NULL, NULL);
+    int nLen = MultiByteToWideChar(CP_ACP, 0, psz_msg, -1, NULL, 0);
     MultiByteToWideChar(CP_ACP, 0, psz_msg, -1, &buffer, nLen);
 
     msndata.dwData = 0x547;




More information about the vlc-devel mailing list