summaryrefslogtreecommitdiff
path: root/lib/psm.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-09 12:00:12 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-09 12:00:12 +0300
commita45f4a18038cd8f4f3f7f7a7a2ea54e7ad5fde93 (patch)
tree5464ea67d27d31663f8e1edc729b86d77fbf05f8 /lib/psm.c
parent94552b96256c3620b4be407c501d0d926c081963 (diff)
downloadrpm-a45f4a18038cd8f4f3f7f7a7a2ea54e7ad5fde93.tar.gz
rpm-a45f4a18038cd8f4f3f7f7a7a2ea54e7ad5fde93.tar.bz2
rpm-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 'lib/psm.c')
-rw-r--r--lib/psm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/psm.c b/lib/psm.c
index 50d5f99e0..82aaa34a7 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -54,8 +54,8 @@ struct rpmpsm_s {
int chrootDone; /*!< Was chroot(2) done by pkgStage? */
int unorderedSuccessor; /*!< Can the PSM be run asynchronously? */
rpmCallbackType what; /*!< Callback type. */
- rpm_off_t amount; /*!< Callback amount. */
- rpm_off_t total; /*!< Callback total. */
+ rpm_loff_t amount; /*!< Callback amount. */
+ rpm_loff_t total; /*!< Callback total. */
rpmRC rc;
pkgStage goal;
pkgStage stage; /*!< Current psm stage. */