summaryrefslogtreecommitdiff
path: root/rpmdb
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-14 15:17:59 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-14 15:17:59 +0200
commit8d66d5fe4a9d7b7b015153edb8f204ac3b89c461 (patch)
treeda32cd205771d4bc9ac3ead3797a3e0522a4b512 /rpmdb
parent7d817f06b14c221bf0fbf74610e4d85093e77fcc (diff)
downloadlibrpm-tizen-8d66d5fe4a9d7b7b015153edb8f204ac3b89c461.tar.gz
librpm-tizen-8d66d5fe4a9d7b7b015153edb8f204ac3b89c461.tar.bz2
librpm-tizen-8d66d5fe4a9d7b7b015153edb8f204ac3b89c461.zip
Bunch of const char* corrections
- functions returning string constants as char * etc...
Diffstat (limited to 'rpmdb')
-rw-r--r--rpmdb/header_internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdb/header_internal.c b/rpmdb/header_internal.c
index 15d99f26a..22a6b3002 100644
--- a/rpmdb/header_internal.c
+++ b/rpmdb/header_internal.c
@@ -36,7 +36,7 @@ void headerDump(Header h, FILE *f, int flags,
indexEntry p;
const struct headerTagTableEntry_s * tage;
const char * tag;
- char * type;
+ const char * type;
/* First write out the length of the index (count of index entries) */
fprintf(f, "Entry count: %d\n", h->indexUsed);