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 /lib/psm.c | |
parent | 94552b96256c3620b4be407c501d0d926c081963 (diff) | |
download | rpm-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. */ |