CBouquetList: use required type

fix some possible compiler warnings
This commit is contained in:
2013-10-02 10:07:34 +02:00
parent 00a194990e
commit acb256ba53
2 changed files with 3 additions and 3 deletions

View File

@@ -118,9 +118,9 @@ void CBouquetList::deleteBouquet(CBouquet*bouquet)
} }
} }
int CBouquetList::getActiveBouquetNumber() t_bouquet_id CBouquetList::getActiveBouquetNumber()
{ {
return selected; return (t_bouquet_id)selected;
} }
#if 0 #if 0

View File

@@ -112,7 +112,7 @@ class CBouquetList
CBouquet* addBouquet(const char * const name, int BouquetKey=-1, bool locked=false ); CBouquet* addBouquet(const char * const name, int BouquetKey=-1, bool locked=false );
CBouquet* addBouquet(CZapitBouquet * zapitBouquet); CBouquet* addBouquet(CZapitBouquet * zapitBouquet);
void deleteBouquet(CBouquet* bouquet); void deleteBouquet(CBouquet* bouquet);
int getActiveBouquetNumber(); t_bouquet_id getActiveBouquetNumber();
int activateBouquet(int id, bool bShowChannelList); int activateBouquet(int id, bool bShowChannelList);
int show(bool bShowChannelList = true); int show(bool bShowChannelList = true);
int showChannelList(int nBouquet = -1); int showChannelList(int nBouquet = -1);