Fix wrong cast

This commit is contained in:
heckflosse 2017-12-09 11:54:23 +01:00
parent d7fb8c9136
commit 4cc7861125

View File

@ -1671,7 +1671,7 @@ void Tag::toString (char* buffer, int ofs)
strcpy (buffer, "");
for (size_t i = 0; i < std::min(maxcount, static_cast<size_t>(valuesize - ofs)); i++) {
for (size_t i = 0; i < std::min<int>(maxcount, valuesize - ofs); i++) {
if (i > 0) {
strcat (buffer, ", ");
}