Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUG FIX: va_list handling for visual studio fixed

  • Loading branch information...
commit 940612e6cb133047ac07b7ce50d9d3bcef3da5b2 1 parent e0f0d88
@ckolumbus ckolumbus authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/buffer.c
View
2  src/buffer.c
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.