#922. Mac fix for Image::stringFormat()

This commit is contained in:
Robin Mills 2015-05-01 06:54:33 +00:00
parent b2be263206
commit f343a21e21

View File

@ -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;