fix warning
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 6 Dec 2005 10:54:07 +0000 (10:54 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 6 Dec 2005 10:54:07 +0000 (10:54 +0000)
lib/dvb/dvbtime.cpp

index 34495d1..12e52a9 100644 (file)
@@ -386,7 +386,7 @@ void eDVBLocalTimeHandler::DVBChannelStateChanged(iDVBChannel *chan)
                {
                        case iDVBChannel::state_ok:
                                eDebug("[eDVBLocalTimerHandler] channel %p running", chan);
-                               it->second.tdt = new TDT(chan);
+                               it->second.tdt = new TDT(it->second.channel);
                                it->second.tdt->start();
                                break;
                        case iDVBChannel::state_release: