diff options
Diffstat (limited to 'responsememblk.c')
-rwxr-xr-x | responsememblk.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/responsememblk.c b/responsememblk.c index 6f370e0..f77f950 100755 --- a/responsememblk.c +++ b/responsememblk.c @@ -894,8 +894,12 @@ void cResponseMemBlk::receiveAddTimerReq() { } } - // eTimerMatch ma ; +#if VDRVERSNUM < 10733 int ma; +#else + eTimerMatch ma ; +#endif + if (Timers.GetMatch(ev, &ma) != NULL) { if(ma == tmFull) { @@ -1083,7 +1087,7 @@ void cResponseMemBlk::sendTimersXml() { for (uint i =0; i< s_timers.Size(); i++) { // for (cTimer * ti = Timers.First(); ti; ti = Timers.Next(ti)){ // ti->Matches(); - cTimer *ti = s_timers[i]; + const cTimer *ti = s_timers[i]; if (!ti ) { continue; } |