From: Stefan Pluecken Date: Fri, 5 Jan 2007 22:02:16 +0000 (+0000) Subject: fix compile error: X-Git-Tag: 2.6.0~2515 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/f2e5d9edd75744f7a62135ad4e032fda84fdb2a0 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 --- 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);