aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-03-06 15:25:09 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-03-06 15:25:09 +0000
commitf33711bef9ef4b5034fe070d1f800aec8d71b49f (patch)
treed9894f086fa6ec6fa36863fdb6178803c8faa42e
parent9490883fb84eba1f34dc248c79e16c22f76510dd (diff)
downloadperl-URPM-f33711bef9ef4b5034fe070d1f800aec8d71b49f.tar
perl-URPM-f33711bef9ef4b5034fe070d1f800aec8d71b49f.tar.gz
perl-URPM-f33711bef9ef4b5034fe070d1f800aec8d71b49f.tar.bz2
perl-URPM-f33711bef9ef4b5034fe070d1f800aec8d71b49f.tar.xz
perl-URPM-f33711bef9ef4b5034fe070d1f800aec8d71b49f.zip
revert back to long long since they're of same size anyways and we avoid warnings that way :)
-rw-r--r--URPM.xs6
1 files changed, 3 insertions, 3 deletions
diff --git a/URPM.xs b/URPM.xs
index c72117a..7e74de9 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -766,8 +766,8 @@ return_problems(rpmps ps, int translate_message) {
sv = newSVpvf("installed@%s@%s", pkgNEVR, altNEVR); break;
case RPMPROB_DISKSPACE:
- sv = newSVpvf("diskspace@%s@%s@%lld", pkgNEVR, s, (uint64_t)rpmProblemGetLong(p)); break;
- sv = newSVpvf("disknodes@%s@%s@%lld", pkgNEVR, s, (uint64_t)rpmProblemGetLong(p)); break;
+ sv = newSVpvf("diskspace@%s@%s@%lld", pkgNEVR, s, (long long)rpmProblemGetLong(p)); break;
+ sv = newSVpvf("disknodes@%s@%s@%lld", pkgNEVR, s, (long long)rpmProblemGetLong(p)); break;
case RPMPROB_REQUIRES:
sv = newSVpvf("requires@%s@%s", pkgNEVR, altNEVR+2); break;
@@ -1310,7 +1310,7 @@ ts_nosignature(rpmts ts) {
}
#if HAVE_RPM_RPMCB_H
-typedef uint64_t rpmCallbackSize_t;
+typedef unsigned long long rpmCallbackSize_t;
#else
typedef unsigned long rpmCallbackSize_t;
#endif