diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-30 13:45:22 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-30 13:45:22 +0000 |
commit | 3b365a2fc3cc5490250a854736b147ea20231a57 (patch) | |
tree | 12c2ec7e84689fceac8ebd7e87982f38aa3972ff | |
parent | 59ff6886651f23c6f92618b56b808d2b862c79cb (diff) | |
download | perl-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
-rw-r--r-- | URPM.xs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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'; |