Fix wrong cast
This commit is contained in:
parent
d7fb8c9136
commit
4cc7861125
@ -1671,7 +1671,7 @@ void Tag::toString (char* buffer, int ofs)
|
|||||||
|
|
||||||
strcpy (buffer, "");
|
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) {
|
if (i > 0) {
|
||||||
strcat (buffer, ", ");
|
strcat (buffer, ", ");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user