Modified Exiv2::Internal::stringFormat() to use larger initial guess for 'need' to fix test/.icc-test.sh on MinGW.

v0.27.3
Robin Mills 7 years ago committed by Luis Díaz Más
parent 01bcb9404b
commit e347b41279

@ -37,7 +37,7 @@ namespace Exiv2
{
std::string result;
std::vector<char> buffer;
size_t need = std::strlen(format); // initial guess
size_t need = std::strlen(format)*8; // initial guess
int rc = -1;
// vsnprintf writes at most size (2nd parameter) bytes (including \0)

Loading…
Cancel
Save