make TheDOCs compiler happy
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 26 Apr 2006 22:30:06 +0000 (22:30 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 26 Apr 2006 22:30:06 +0000 (22:30 +0000)
lib/dvb/pmt.cpp

index 5e9c760..b8663f4 100644 (file)
@@ -159,7 +159,7 @@ PyObject *eDVBServicePMTHandler::getCaIds()
                                        {
                                                case CA_DESCRIPTOR:
                                                {
                                        {
                                                case CA_DESCRIPTOR:
                                                {
-                                                       CaDescriptor *cadescr = *desc;
+                                                       const CaDescriptor *cadescr = *desc;
                                                        uint16_t caid = cadescr->getCaSystemId();
                                                        int idx=0;
                                                        while (caids[idx] && caids[idx] != caid)
                                                        uint16_t caid = cadescr->getCaSystemId();
                                                        int idx=0;
                                                        while (caids[idx] && caids[idx] != caid)
@@ -177,7 +177,7 @@ PyObject *eDVBServicePMTHandler::getCaIds()
                                {
                                        case CA_DESCRIPTOR:
                                        {
                                {
                                        case CA_DESCRIPTOR:
                                        {
-                                               CaDescriptor *cadescr = *desc;
+                                               const CaDescriptor *cadescr = *desc;
                                                uint16_t caid = cadescr->getCaSystemId();
                                                int idx=0;
                                                while (caids[idx] && caids[idx] != caid)
                                                uint16_t caid = cadescr->getCaSystemId();
                                                int idx=0;
                                                while (caids[idx] && caids[idx] != caid)