diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-13 16:12:09 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-13 16:12:09 +0200 |
| commit | f444dc5877a59869fef079309a7bb9b1aa0572e6 (patch) | |
| tree | b6e0d0ccfc3f82ee364fdfa0eeca255dfed398b6 | |
| parent | 10abd1b8297b92e47ba9123ff7426f0913268f45 (diff) | |
| download | python-apt-f444dc5877a59869fef079309a7bb9b1aa0572e6.tar.gz | |
python/apt_pkgmodule.cc: Fix build on Python 2.4
| -rw-r--r-- | python/apt_pkgmodule.cc | 2 |
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); |
