diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-09-20 10:30:20 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-09-20 10:30:20 +0200 |
| commit | cb12be4893d8ac79dcbaa77e30cf61d69a4e859e (patch) | |
| tree | 38af559b347553217dd38923463f067f832e34a6 /python | |
| parent | e1fcd2d16fe2736ca71fadc05d463d99599b98c3 (diff) | |
| download | python-apt-cb12be4893d8ac79dcbaa77e30cf61d69a4e859e.tar.gz | |
fix return type of DebSize() and UsrSize(), thanks to
Sebastian Heinlein, LP: #642936
Diffstat (limited to 'python')
| -rw-r--r-- | python/depcache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/depcache.cc b/python/depcache.cc index cd098f2f..b7294644 100644 --- a/python/depcache.cc +++ b/python/depcache.cc @@ -650,10 +650,10 @@ static PyObject *PkgDepCacheGetBrokenCount(PyObject *Self,void*) { return Py_BuildValue("l", depcache->BrokenCount()); } static PyObject *PkgDepCacheGetUsrSize(PyObject *Self,void*) { - return Py_BuildValue("d", depcache->UsrSize()); + return Py_BuildValue("L", depcache->UsrSize()); } static PyObject *PkgDepCacheGetDebSize(PyObject *Self,void*) { - return Py_BuildValue("d", depcache->DebSize()); + return Py_BuildValue("L", depcache->DebSize()); } #undef depcache |
