edvbstring.h: fix type conversion

Wconversion
This commit is contained in:
2021-10-21 17:28:15 +02:00
parent 2e9bcb52a7
commit cd4e640328

View File

@@ -8,7 +8,7 @@ int readEncodingFile();
inline std::string stringDVBUTF8(const std::string &string, int table=0, int tsidonid=0)
{
return convertDVBUTF8((const char*)string.c_str(), string.length(), table, tsidonid);
return convertDVBUTF8((const char*)string.c_str(), (int)string.length(), table, tsidonid);
}
int getCountryCodeDefaultMapping( const std::string &lang );