summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-13 16:12:09 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-13 16:12:09 +0200
commitf444dc5877a59869fef079309a7bb9b1aa0572e6 (patch)
treeb6e0d0ccfc3f82ee364fdfa0eeca255dfed398b6 /python/apt_pkgmodule.cc
parent10abd1b8297b92e47ba9123ff7426f0913268f45 (diff)
downloadpython-apt-f444dc5877a59869fef079309a7bb9b1aa0572e6.tar.gz
python/apt_pkgmodule.cc: Fix build on Python 2.4
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);