mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
- upnpbrowser: fix possible format-truncation error
This commit is contained in:
@@ -1365,7 +1365,7 @@ void CUpnpBrowserGui::updateTimes(const bool force)
|
||||
}
|
||||
|
||||
//printf("updateTimes: force %d updatePlayed %d\n", force, updatePlayed);
|
||||
char play_time[14];
|
||||
char play_time[24];
|
||||
snprintf(play_time, sizeof(play_time), "%ld:%02ld", m_time_played / 60, m_time_played % 60);
|
||||
|
||||
if (updatePlayed)
|
||||
|
Reference in New Issue
Block a user