summaryrefslogtreecommitdiff
path: root/python/tag.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-09-18 18:40:30 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-09-18 18:40:30 +0200
commit0d7ffbdfcecfde690648da1ff9342d3bd736e71f (patch)
tree71223ac04a9c37e65762b55449cd1f375f3d3b29 /python/tag.cc
parent8df7cb6c729a5451f231f2cd3e82fc495eaea289 (diff)
downloadpython-apt-0d7ffbdfcecfde690648da1ff9342d3bd736e71f.tar.gz
* fix api changes for python2.5
Diffstat (limited to 'python/tag.cc')
-rw-r--r--python/tag.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tag.cc b/python/tag.cc
index 41db059c..883a8eab 100644
--- a/python/tag.cc
+++ b/python/tag.cc
@@ -132,7 +132,7 @@ static PyObject *TagSecMap(PyObject *Self,PyObject *Arg)
}
// len() operation
-static int TagSecLength(PyObject *Self)
+static Py_ssize_t TagSecLength(PyObject *Self)
{
pkgTagSection &Sec = GetCpp<pkgTagSection>(Self);
return Sec.Count();