diff --git a/src/gui/bouquetlist.cpp b/src/gui/bouquetlist.cpp index c3edab5a6..16353856a 100644 --- a/src/gui/bouquetlist.cpp +++ b/src/gui/bouquetlist.cpp @@ -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 diff --git a/src/gui/bouquetlist.h b/src/gui/bouquetlist.h index bad5fd4f2..c8eb4b3ec 100644 --- a/src/gui/bouquetlist.h +++ b/src/gui/bouquetlist.h @@ -112,7 +112,7 @@ class CBouquetList CBouquet* addBouquet(const char * const name, int BouquetKey=-1, bool locked=false ); CBouquet* addBouquet(CZapitBouquet * zapitBouquet); void deleteBouquet(CBouquet* bouquet); - int getActiveBouquetNumber(); + t_bouquet_id getActiveBouquetNumber(); int activateBouquet(int id, bool bShowChannelList); int show(bool bShowChannelList = true); int showChannelList(int nBouquet = -1);