mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
record.cpp: fix compiler warning -Wformat-overflow
Origin commit data
------------------
Branch: ni/coolstream
Commit: 550c9ca76c
Author: Thilo Graf <dbt@novatux.de>
Date: 2023-01-25 (Wed, 25 Jan 2023)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1663,7 +1663,7 @@ bool CRecordManager::ShowMenu(void)
|
||||
if (inst->Timeshift())
|
||||
mode_icon = NEUTRINO_ICON_MARKER_TIMESHIFT;
|
||||
|
||||
sprintf(cnt, "%d", i);
|
||||
snprintf(cnt, sizeof(cnt), "%c", i);
|
||||
//define stop key if only one record is running, otherwise define shortcuts
|
||||
neutrino_msg_t rc_key = CRCInput::convertDigitToKey(shortcut++);
|
||||
const char * btn_icon = NEUTRINO_ICON_BUTTON_OKAY;
|
||||
|
Reference in New Issue
Block a user