From f343a21e21aa98960ddc8bc325306b2ca93da1db Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Fri, 1 May 2015 06:54:33 +0000 Subject: [PATCH] #922. Mac fix for Image::stringFormat() --- src/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image.cpp b/src/image.cpp index ca242784..b2f1dee3 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -360,7 +360,7 @@ namespace Exiv2 { { std::string result; - int need = (int) std::strlen(format); // initial guess + int need = (int) std::strlen(format)*2; // initial guess char* buffer = NULL; int again = 4; int rc = -1;