summaryrefslogtreecommitdiff
path: root/lib/headerfmt.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2020-09-09 12:01:41 +0300
committerPanu Matilainen <pmatilai@redhat.com>2020-09-09 12:46:26 +0300
commit505fe16f863f83637c9577417a7ae959df674a61 (patch)
treee8390846eebfa9843406ad61254d29ad8158c79b /lib/headerfmt.c
parent73701e808ff71ae0a3097d8ae03e965bf2904cdc (diff)
downloadrpm-505fe16f863f83637c9577417a7ae959df674a61.tar.gz
Handful of trivial and obvious const-correctness fixes to librpm code
Diffstat (limited to 'lib/headerfmt.c')
-rw-r--r--lib/headerfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/headerfmt.c b/lib/headerfmt.c
index f4c249a26..6b0372d2c 100644
--- a/lib/headerfmt.c
+++ b/lib/headerfmt.c
@@ -25,7 +25,7 @@ struct sprintfTag_s {
rpmTagVal tag;
int justOne;
char * format;
- char * type;
+ const char * type;
};
typedef enum {