From aa9a94c8df98f7dfd55fddbc873595e5bff745bb Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 28 Feb 2013 11:13:43 -0800 Subject: [PATCH] Fix MSVC build --- format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.h b/format.h index 543d345b..a433f6b9 100644 --- a/format.h +++ b/format.h @@ -192,7 +192,7 @@ inline int SignBit(double value) { if (value == value) return 0; int dec = 0, sign = 0; char buffer[2]; // The buffer size must be >= 2 or _ecvt_s will fail. - _ecvt_s(&buffer, sizeof(buffer), value, 0, &dec, &sign); + _ecvt_s(buffer, sizeof(buffer), value, 0, &dec, &sign); return sign; }