aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-17 09:07:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-17 09:07:24 +0000
commit8133a2c956733ee12a2a02f1b142844b449e1c4e (patch)
tree32649d7f7dac4191cd9383b5af85e0e1594d6dd9
parent501a0dfc86ed36a66fe5cb5ce3f3079af6f5c134 (diff)
downloadperl-URPM-8133a2c956733ee12a2a02f1b142844b449e1c4e.tar
perl-URPM-8133a2c956733ee12a2a02f1b142844b449e1c4e.tar.gz
perl-URPM-8133a2c956733ee12a2a02f1b142844b449e1c4e.tar.bz2
perl-URPM-8133a2c956733ee12a2a02f1b142844b449e1c4e.tar.xz
perl-URPM-8133a2c956733ee12a2a02f1b142844b449e1c4e.zip
fix rpmCallbackFunction prototype
(backport from HEAD)
-rw-r--r--URPM.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 5016d98..9ea14b5 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1292,8 +1292,8 @@ static void *rpmRunTransactions_callback(const void *h,
const rpmCallbackType what,
const RPM_CALLBACK_AMOUNT_TYPE amount,
const RPM_CALLBACK_AMOUNT_TYPE total,
- const void * pkgKey,
- void * data) {
+ fnpyKey pkgKey,
+ rpmCallbackData data) {
static struct timeval tprev;
static struct timeval tcurr;
static FD_t fd = NULL;