summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/apt_pkgmodule.cc')
-rw-r--r--python/apt_pkgmodule.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc
index cf232fa2..1a2980b8 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -118,7 +118,7 @@ static PyObject *RealParseDepends(PyObject *Self,PyObject *Args,
const char *Stop;
int Len;
- if (PyArg_ParseTuple(Args,("s#:" + name).c_str(),&Start,&Len) == 0)
+ if (PyArg_ParseTuple(Args,(char *)("s#:" + name).c_str(),&Start,&Len) == 0)
return 0;
Stop = Start + Len;
PyObject *List = PyList_New(0);