aboutsummaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/win32.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/loader/win32.c b/loader/win32.c
index 395f717e5f..d5f92d44dd 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -190,8 +190,14 @@ static inline void dbgprintf(char* fmt, ...)
#undef MPLAYER
#ifdef MPLAYER
#include "../mp_msg.h"
- if (verbose > 2)
+ if (verbose > 2)
+ {
+ va_list va;
+
+ va_start(va, fmt);
mp_dbg(MSGT_WIN32, MSGL_DBG3, fmt, va);
+ va_end(va);
+ }
#endif
}