diff options
author | thlo <smarttv640@gmail.com> | 2013-08-18 19:54:24 +0200 |
---|---|---|
committer | thlo <smarttv640@gmail.com> | 2013-08-18 19:54:24 +0200 |
commit | 2f1df7809b9d05a36d54b724856c58ff31f8bb84 (patch) | |
tree | db08ba9dc4ef4fd8b43005c2c00262e6a039797e /responsememblk.c | |
parent | 08f320d0a8c9ea3954f4db3636186db41c71496e (diff) | |
download | vdr-plugin-smarttvweb-2f1df7809b9d05a36d54b724856c58ff31f8bb84.tar.gz vdr-plugin-smarttvweb-2f1df7809b9d05a36d54b724856c58ff31f8bb84.tar.bz2 |
Fixes for API version 2.0.0.
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; } |