diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-06-09 12:00:12 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-06-09 12:00:12 +0300 |
commit | a45f4a18038cd8f4f3f7f7a7a2ea54e7ad5fde93 (patch) | |
tree | 5464ea67d27d31663f8e1edc729b86d77fbf05f8 /python/rpmts-py.c | |
parent | 94552b96256c3620b4be407c501d0d926c081963 (diff) | |
download | librpm-tizen-a45f4a18038cd8f4f3f7f7a7a2ea54e7ad5fde93.tar.gz librpm-tizen-a45f4a18038cd8f4f3f7f7a7a2ea54e7ad5fde93.tar.bz2 librpm-tizen-a45f4a18038cd8f4f3f7f7a7a2ea54e7ad5fde93.zip |
Use rpm_loff_t for transaction callback amount+total arguments
- ought to be safe as data is only ever automatically converted to larger
type on notify calls
Diffstat (limited to 'python/rpmts-py.c')
-rw-r--r-- | python/rpmts-py.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/rpmts-py.c b/python/rpmts-py.c index 85c8cb244..422436b61 100644 --- a/python/rpmts-py.c +++ b/python/rpmts-py.c @@ -833,7 +833,7 @@ fprintf(stderr, "*** rpmts_GetKeys(%p) ts %p\n", s, s->ts); */ static void * rpmtsCallback(const void * hd, const rpmCallbackType what, - const rpm_off_t amount, const rpm_off_t total, + const rpm_loff_t amount, const rpm_loff_t total, const void * pkgKey, rpmCallbackData data) { Header h = (Header) hd; @@ -896,7 +896,7 @@ fprintf(stderr, "\tFclose(%p)\n", fd); Fclose (fd); } else { if (_rpmts_debug) -fprintf(stderr, "\t%d:%d key %p\n", amount, total, pkgKey); +fprintf(stderr, "\t%llu:%llu key %p\n", (long long) amount, (long long) total, pkgKey); } Py_DECREF(result); |