diff --git a/src/eitd/SIsections.hpp b/src/eitd/SIsections.hpp index b537cadaf..f5d652c31 100644 --- a/src/eitd/SIsections.hpp +++ b/src/eitd/SIsections.hpp @@ -194,7 +194,7 @@ class SIsectionTIME parsed = 0; parse(buf); } - time_t getTime() { return dvbtime; } + time_t getTime() const { return dvbtime; } int is_parsed(void) const { return parsed; } }; diff --git a/src/eitd/SIservices.hpp b/src/eitd/SIservices.hpp index 186a58861..ee2c1d395 100644 --- a/src/eitd/SIservices.hpp +++ b/src/eitd/SIservices.hpp @@ -121,7 +121,7 @@ public: int eitScheduleFlag(void) { return (int)flags.EIT_schedule_flag; } int eitPresentFollowingFlag(void) { return (int)flags.EIT_present_following_flag; } #endif - int runningStatus(void) { return (int)flags.running_status; } + int runningStatus(void) const { return (int)flags.running_status; } #if 0 // unused int freeCAmode(void) { return (int)flags.free_CA_mode; }