From f444dc5877a59869fef079309a7bb9b1aa0572e6 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 13 Jul 2009 16:12:09 +0200 Subject: python/apt_pkgmodule.cc: Fix build on Python 2.4 --- python/apt_pkgmodule.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/apt_pkgmodule.cc') 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); -- cgit v1.2.3