From 2e9bcb52a7cc6989692723966114f67b005f0f56 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 21 Oct 2021 14:27:20 +0200 Subject: [PATCH] zapit/include/channel.h: fix type conversion Wconversion --- src/zapit/include/zapit/channel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zapit/include/zapit/channel.h b/src/zapit/include/zapit/channel.h index 1f6b1503d..9626b3606 100644 --- a/src/zapit/include/zapit/channel.h +++ b/src/zapit/include/zapit/channel.h @@ -291,7 +291,7 @@ class CZapitChannel void addDVBSubtitle(const unsigned int pid, const std::string langCode, const unsigned char subtitling_type, const unsigned short composition_page_id, const unsigned short ancillary_page_id); - unsigned getSubtitleCount() const { return channelSubs.size(); }; + size_t getSubtitleCount() const { return channelSubs.size(); }; CZapitAbsSub* getChannelSub(int index = -1); int getChannelSubIndex(void); void setChannelSub(int subIdx);