diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2009-08-04 16:28:18 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2009-08-04 16:28:18 +0000 |
commit | 60a68bb04c7d15d8ca98fcb05e0d18f11370fe08 (patch) | |
tree | 1daef6919e4f99813c7e71dbc72b82e1adc0a10a | |
parent | 6d5251821d4c555e42142f7d6a4741fcdb7db63d (diff) | |
download | perl-URPM-60a68bb04c7d15d8ca98fcb05e0d18f11370fe08.tar perl-URPM-60a68bb04c7d15d8ca98fcb05e0d18f11370fe08.tar.gz perl-URPM-60a68bb04c7d15d8ca98fcb05e0d18f11370fe08.tar.bz2 perl-URPM-60a68bb04c7d15d8ca98fcb05e0d18f11370fe08.tar.xz perl-URPM-60a68bb04c7d15d8ca98fcb05e0d18f11370fe08.zip |
cast (es-s) to U32 (as the hv_fetch prototype expects) rather than casting strlen(s) to signed
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |