[cppcheck] fix format string
Found with invalidPrintfArgType_sint Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
9bad5ee3c5
commit
01e00632cc
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user