Revert "- upnpbrowser.cpp: reduce warning: ‘%ld’ directive output may be truncated writing between"

This reverts commit d62ccab79a.


Origin commit data
------------------
Commit: 3c66574725
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-11-14 (Sun, 14 Nov 2021)
This commit is contained in:
vanhofen
2021-11-14 22:19:17 +01:00
parent f3a89a2cc1
commit c145a461a7

View File

@@ -1370,7 +1370,7 @@ void CUpnpBrowserGui::updateTimes(const bool force)
//printf("updateTimes: force %d updatePlayed %d\n", force, updatePlayed);
char play_time[14];
snprintf(play_time, sizeof(play_time), "%zu:%02ld", m_time_played / 60, m_time_played % 60);
snprintf(play_time, sizeof(play_time), "%ld:%02ld", m_time_played / 60, m_time_played % 60);
if (updatePlayed)
{