aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 20dcea3..d6453d0 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -176,7 +176,7 @@ get_int(Header header, int32_t tag) {
static size_t
get_filesize(const Header h) {
- return get_int(h, RPMTAG_SIGSIZE) + 440; /* 440 is the rpm header size (?) empirical, but works */
+ return headerGetNumber(h, RPMTAG_SIGSIZE) + 440; /* 440 is the rpm header size (?) empirical, but works */
}
static int