(Try to) fix warnings that popped up in #4223

The only place I don't know how to fix is the
`-fvar-tracking-assignments` warning in `ProcParams::save()` as
there is nothing to constify.
This commit is contained in:
Flössie
2017-12-14 20:42:45 +01:00
parent a46f96d32d
commit caa68ff49b
3 changed files with 362 additions and 360 deletions

View File

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