aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 22e4d0b..87ba3d6 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -907,7 +907,7 @@ update_provides(URPM__Package pkg, HV *provides) {
}
if (s[0] == '/') {
es = strchr(s, '['); if (!es) es = strchr(s, ' ');
- (void)hv_fetch(provides, s, es != NULL ? es-s : (signed)strlen(s), 1);
+ (void)hv_fetch(provides, s, es != NULL ? (U32)(es-s) : strlen(s), 1);
}
}