aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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';