aboutsummaryrefslogtreecommitdiff
path: root/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows.c')
-rw-r--r--windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/windows.c b/windows.c
index 2f1a6f0..82767e4 100644
--- a/windows.c
+++ b/windows.c
@@ -84,7 +84,7 @@ void debug_printf(char *fmt, ...)
va_list ap;
va_start(ap, fmt);
- vsprintf(buf, fmt, ap);
+ _vsnprintf(buf, 4095, fmt, ap);
dputs(buf);
va_end(ap);
}