aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-10 11:20:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-10 11:20:04 +0000
commit68780f74d8adcf279f081a63f7df44067b311f08 (patch)
tree4470ec8e997d57a20bde5fb086c276e313e7ca4b
parentc19ef57929d78c071f4a0a72afa4eae66b1d603a (diff)
downloadperl-URPM-68780f74d8adcf279f081a63f7df44067b311f08.tar
perl-URPM-68780f74d8adcf279f081a63f7df44067b311f08.tar.gz
perl-URPM-68780f74d8adcf279f081a63f7df44067b311f08.tar.bz2
perl-URPM-68780f74d8adcf279f081a63f7df44067b311f08.tar.xz
perl-URPM-68780f74d8adcf279f081a63f7df44067b311f08.zip
fix rpmCallbackFunction prototype
-rw-r--r--URPM.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 3b6ce8a..fece40f 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1287,8 +1287,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;