compile fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 14 Nov 2005 14:30:58 +0000 (14:30 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 14 Nov 2005 14:30:58 +0000 (14:30 +0000)
lib/dvb/db.cpp

index 93b13cc..de2de1e 100644 (file)
@@ -693,7 +693,7 @@ RESULT eDVBDBQuery::getNextResult(eServiceReferenceDVB &ref)
                        return 0;
        }
 
-       ref = (eServiceReferenceDVB&)eServiceReference();
+       ref.type = eServiceReference::idInvalid;
 
        return 1;
 }
@@ -722,7 +722,7 @@ RESULT eDVBDBBouquetQuery::getNextResult(eServiceReferenceDVB &ref)
                        return 0;
        }
 
-       ref = (eServiceReferenceDVB&)eServiceReference();
+       ref.type = eServiceReference::idInvalid;
 
        return 1;
 }