vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Mon Jan 14 17:30:35 2013 +0100| [8bd0f4aed1a3d76028f50195bdd74cdef5f002f3] | committer: Jean-Baptiste Kempf
Win32: use OutputDebugStringA directly Since OutputDebugStringW is just a wrapper around OutputDebugStringA > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8bd0f4aed1a3d76028f50195bdd74cdef5f002f3 --- src/misc/messages.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/misc/messages.c b/src/misc/messages.c index f061436..91aa6a4 100644 --- a/src/misc/messages.c +++ b/src/misc/messages.c @@ -301,6 +301,8 @@ static void PrintMsg (void *d, int type, const msg_item_t *p_item, static void Win32DebugOutputMsg (void* d, int type, const msg_item_t *p_item, const char *format, va_list dol) { + VLC_UNUSED(p_item); + const signed char *pverbose = d; if (pverbose && (*pverbose < 0 || *pverbose < (type - VLC_MSG_ERR))) return; @@ -323,7 +325,7 @@ static void Win32DebugOutputMsg (void* d, int type, const msg_item_t *p_item, msg[msg_len] = '\n'; msg[msg_len + 1] = '\0'; } - OutputDebugString(msg); + OutputDebugStringA(msg); } free(msg); } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
