X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/cbaa4012ef5481091ac9b206e29e4c396859abe2..377116c3e006c0feee1b84af9285ce027bb92115:/lib/service/event.h diff --git a/lib/service/event.h b/lib/service/event.h index 3a71f7b7..cbce6f17 100644 --- a/lib/service/event.h +++ b/lib/service/event.h @@ -21,7 +21,7 @@ public: bool loadLanguage(Event *event, std::string lang); RESULT parseFrom(Event *evt); #endif - time_t getBeginTime() { return m_begin; } + long getBeginTime() { return (long)m_begin; } int getDuration() { return m_duration; } std::string getEventName() { return m_event_name; } std::string getShortDescription() { return m_short_description; }