aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2007-01-05 22:02:16 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2007-01-05 22:02:16 +0000
commitf2e5d9edd75744f7a62135ad4e032fda84fdb2a0 (patch)
tree2c36f712e80fb040eb0803fdb4c108f9bfb5df36
parentfcea714ed304234bdb7e05e40c3e3d7109fbd1f1 (diff)
downloadenigma2-f2e5d9edd75744f7a62135ad4e032fda84fdb2a0.tar.gz
enigma2-f2e5d9edd75744f7a62135ad4e032fda84fdb2a0.zip
fix compile error:
pmt.cpp: In member function 'void eDVBCAService::sendCAPMT()': pmt.cpp:839: warning: zero-length printf format string pmt.cpp: At global scope: pmt.cpp:868: error: ISO C++ forbids declaration of 'PyList_AppendSteal' with no type
-rw-r--r--lib/dvb/pmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dvb/pmt.cpp b/lib/dvb/pmt.cpp
index 7f560c8e..1d9ca83d 100644
--- a/lib/dvb/pmt.cpp
+++ b/lib/dvb/pmt.cpp
@@ -865,7 +865,7 @@ static PyObject *createTuple(int pid, const char *type)
return r;
}
-static inline PyList_AppendSteal(PyObject *list, PyObject *item)
+static inline PyObject PyList_AppendSteal(PyObject *list, PyObject *item)
{
PyList_Append(list, item);
Py_DECREF(item);