Commit 01e00632 authored by Rosen Penev's avatar Rosen Penev Committed by Max Kellermann

[cppcheck] fix format string

Found with invalidPrintfArgType_sint Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
parent 9bad5ee3
......@@ -347,7 +347,7 @@ HaikuOutput::SendTag(const Tag &tag)
unsigned seconds = 0;
if (!tag.duration.IsNegative()) {
seconds = tag.duration.ToS();
snprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d",
snprintf(timebuf, sizeof(timebuf), "%02u:%02u:%02u",
seconds / 3600, (seconds % 3600) / 60, seconds % 60);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment