aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-30 13:45:22 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-30 13:45:22 +0000
commit3b365a2fc3cc5490250a854736b147ea20231a57 (patch)
tree12c2ec7e84689fceac8ebd7e87982f38aa3972ff /URPM.xs
parent59ff6886651f23c6f92618b56b808d2b862c79cb (diff)
downloadperl-URPM-3b365a2fc3cc5490250a854736b147ea20231a57.tar
perl-URPM-3b365a2fc3cc5490250a854736b147ea20231a57.tar.gz
perl-URPM-3b365a2fc3cc5490250a854736b147ea20231a57.tar.bz2
perl-URPM-3b365a2fc3cc5490250a854736b147ea20231a57.tar.xz
perl-URPM-3b365a2fc3cc5490250a854736b147ea20231a57.zip
Fix cast error
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs6
1 files changed, 3 insertions, 3 deletions
diff --git a/URPM.xs b/URPM.xs
index 9f9d1b2..bcf8109 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -579,9 +579,9 @@ return_list_tag_modifier(Header header, int_32 tag_name) {
int_32 count, type;
headerGetEntry(header, tag_name, &type, (void **) &list, &count);
- for (i=0; i<count; i++) {
- char *buff[15];
- char *s= buff;
+ for (i = 0; i < count; i++) {
+ char buff[15];
+ char *s = buff;
switch (tag_name) {
case RPMTAG_FILEFLAGS:
if (list[i] & RPMFILE_CONFIG) *s++ = 'c';