Remove spurious semicolons from macros; their upset compilers that don't like
[sgt/puzzles] / windows.c
index 2f1a6f0..82767e4 100644 (file)
--- 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);
 }