Permalink
Browse files

BUG FIX: va_list handling for visual studio fixed

  • Loading branch information...
1 parent e0f0d88 commit 940612e6cb133047ac07b7ce50d9d3bcef3da5b2 @ckolumbus ckolumbus committed May 2, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/buffer.c
View
@@ -127,7 +127,9 @@ bufprintf(struct buf *buf, const char *fmt, ...)
if (n < 0) {
#ifdef _MSC_VER
+ va_start(ap, fmt);
n = _vscprintf(fmt, ap);
+ va_end(ap);
#else
return;
#endif

0 comments on commit 940612e

Please sign in to comment.