aboutsummaryrefslogtreecommitdiff
path: root/lib/service
diff options
context:
space:
mode:
Diffstat (limited to 'lib/service')
-rw-r--r--lib/service/event.h2
1 files changed, 1 insertions, 1 deletions
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; }