mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
fix compil warnings
Origin commit data
------------------
Branch: ni/coolstream
Commit: 460e224a28
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-01-22 (Tue, 22 Jan 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -249,8 +249,12 @@ void SIevent::parseShortEventDescriptor(const uint8_t *buf, unsigned maxlen)
|
||||
|
||||
int tsidonid = (transport_stream_id << 16) | original_network_id;
|
||||
|
||||
char lang[] = {tolower(evt->language_code_hi), tolower(evt->language_code_mid), tolower(evt->language_code_lo), '\0'};
|
||||
std::string language(lang);
|
||||
char lang[] = {'\0','\0','\0','\0'};
|
||||
lang[0] = tolower(evt->language_code_hi);
|
||||
lang[1] = tolower(evt->language_code_mid);
|
||||
lang[2] = tolower(evt->language_code_lo);
|
||||
|
||||
std::string language(lang);
|
||||
int table = getCountryCodeDefaultMapping(language);
|
||||
|
||||
buf+=sizeof(struct descr_short_event_header);
|
||||
@@ -272,7 +276,11 @@ void SIevent::parseExtendedEventDescriptor(const uint8_t *buf, unsigned maxlen)
|
||||
|
||||
int tsidonid = (transport_stream_id << 16) | original_network_id;
|
||||
|
||||
char lang[] = {tolower(evt->iso_639_2_language_code_hi), tolower(evt->iso_639_2_language_code_mid), tolower(evt->iso_639_2_language_code_lo), '\0'};
|
||||
char lang[] = {'\0','\0','\0','\0'};
|
||||
lang[0] = tolower(evt->iso_639_2_language_code_hi);
|
||||
lang[1] = tolower(evt->iso_639_2_language_code_mid);
|
||||
lang[2] = tolower(evt->iso_639_2_language_code_lo);
|
||||
|
||||
std::string language(lang);
|
||||
int table = getCountryCodeDefaultMapping(language);
|
||||
|
||||
|
Reference in New Issue
Block a user