Fix Tag::toString() for LONG type (#3422)

This commit is contained in:
Flössie
2016-09-22 22:00:05 +02:00
parent 540e95a063
commit b32ace88a9

View File

@@ -1553,11 +1553,11 @@ void Tag::toString (char* buffer, int ofs)
break;
case SLONG:
sprintf (b, "%ld", (long)toInt(4 * i + ofs));
sprintf (b, "%d", toInt(4 * i + ofs));
break;
case LONG:
sprintf (b, "%lu", (unsigned long)toInt(4 * i + ofs));
sprintf (b, "%u", toInt(4 * i + ofs));
break;
case SRATIONAL: