From f2e5d9edd75744f7a62135ad4e032fda84fdb2a0 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Fri, 5 Jan 2007 22:02:16 +0000 Subject: [PATCH 1/1] 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 --- lib/dvb/pmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2