mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
Fix compiler format warnings
Origin commit data
------------------
Branch: ni/coolstream
Commit: e35969afe2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-22 (Wed, 22 Feb 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -386,7 +386,7 @@ int CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data)
|
||||
break;
|
||||
|
||||
case NeutrinoMessages::EVT_SCAN_NUM_TRANSPONDERS:
|
||||
sprintf(buffer, "%u", data);
|
||||
sprintf(buffer, "%ld", data);
|
||||
paintLine(xpos2, ypos_transponder, w - (8*fw), buffer);
|
||||
total = data;
|
||||
snprintf(str, sizeof(buffer), "scan: %d/%d", done, total);
|
||||
@@ -426,22 +426,22 @@ int CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data)
|
||||
break;
|
||||
|
||||
case NeutrinoMessages::EVT_SCAN_NUM_CHANNELS:
|
||||
sprintf(buffer, " = %u", data);
|
||||
sprintf(buffer, " = %ld", data);
|
||||
paintLine(xpos1 + 3 * (6*fw), ypos_service_numbers + mheight, width - 3 * (6*fw) - 10, buffer);
|
||||
break;
|
||||
|
||||
case NeutrinoMessages::EVT_SCAN_FOUND_TV_CHAN:
|
||||
sprintf(buffer, "%u", data);
|
||||
sprintf(buffer, "%ld", data);
|
||||
paintLine(xpos1, ypos_service_numbers + mheight, (6*fw), buffer);
|
||||
break;
|
||||
|
||||
case NeutrinoMessages::EVT_SCAN_FOUND_RADIO_CHAN:
|
||||
sprintf(buffer, "%u", data);
|
||||
sprintf(buffer, "%ld", data);
|
||||
paintLine(xpos1 + (6*fw), ypos_service_numbers + mheight, (6*fw), buffer);
|
||||
break;
|
||||
|
||||
case NeutrinoMessages::EVT_SCAN_FOUND_DATA_CHAN:
|
||||
sprintf(buffer, "%u", data);
|
||||
sprintf(buffer, "%ld", data);
|
||||
paintLine(xpos1 + 2 * (6*fw), ypos_service_numbers + mheight, (6*fw), buffer);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user