frontend.cpp/pzapit.cpp: fix format string

Origin commit data
------------------
Branch: ni/coolstream
Commit: c92d4fad1a
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-12 (Mon, 12 Jan 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2015-01-12 22:25:25 +01:00
parent 77cbbec0d6
commit 02677d6cab
2 changed files with 2 additions and 2 deletions

View File

@@ -694,7 +694,7 @@ struct dvb_frontend_event CFrontend::getEvent(void)
} else if (event.status & FE_TIMEDOUT) { } else if (event.status & FE_TIMEDOUT) {
if(timedout < timer_msec) if(timedout < timer_msec)
timedout = timer_msec; timedout = timer_msec;
printf("[fe%d] ############################## FE_TIMEDOUT (max %d)\n", fenumber, timedout); printf("[fe%d] ############################## FE_TIMEDOUT (max %u)\n", fenumber, timedout);
/*break;*/ /*break;*/
} else { } else {
if (event.status & FE_HAS_SIGNAL) if (event.status & FE_HAS_SIGNAL)

View File

@@ -653,7 +653,7 @@ int main (int argc, char** argv)
std::vector<CZapitClient::responseGetBouquetChannels>::const_iterator ch_resp; std::vector<CZapitClient::responseGetBouquetChannels>::const_iterator ch_resp;
for (ch_resp = channels.begin(), channel = 1; ch_resp != channels.end(); ch_resp++, ++channel) for (ch_resp = channels.begin(), channel = 1; ch_resp != channels.end(); ch_resp++, ++channel)
//std::cout << channel << ": " << ch_resp->name << ": " << ch_resp->channel_id<< std::endl; //std::cout << channel << ": " << ch_resp->name << ": " << ch_resp->channel_id<< std::endl;
printf("%3d: %s (%04x)\n", channel, ch_resp->name, (short) (ch_resp->channel_id &0xFFFF)); printf("%3u: %s (%04x)\n", channel, ch_resp->name, (short) (ch_resp->channel_id &0xFFFF));
return 0; return 0;
} }
} }