]> git.sesse.net Git - vlc/blobdiff - modules/misc/notify/msn.c
Fix warning (the parameter is an integer, not a pointer)
[vlc] / modules / misc / notify / msn.c
index f177f1d0fd8e97e65aa9052db8744c3f381b5ebf..82d538ac21563e3554b5c14ff07216b9376c892d 100644 (file)
@@ -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;