Commit 179ac316 authored by Rémi Duraffort's avatar Rémi Duraffort

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

parent c1c69332
...@@ -193,7 +193,7 @@ static int SendToMSN( const char *psz_msg ) ...@@ -193,7 +193,7 @@ static int SendToMSN( const char *psz_msg )
wchar_t buffer[MSN_MAX_LENGTH]; wchar_t buffer[MSN_MAX_LENGTH];
//mbstowcs( buffer, psz_msg, 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); MultiByteToWideChar(CP_ACP, 0, psz_msg, -1, &buffer, nLen);
msndata.dwData = 0x547; msndata.dwData = 0x547;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment