summaryrefslogtreecommitdiff
path: root/lib/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/query.c')
-rw-r--r--lib/query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/query.c b/lib/query.c
index 111107cf6..09a7e1789 100644
--- a/lib/query.c
+++ b/lib/query.c
@@ -200,7 +200,7 @@ int showQueryPackage(QVA_t qva, rpmts ts, Header h)
fstate = rpmfiFState(fi);
fsize = rpmfiFSize(fi);
fn = rpmfiFN(fi);
- { static char hex[] = "0123456789abcdef";
+ { static char const hex[] = "0123456789abcdef";
unsigned const char * s = rpmfiMD5(fi);
char * p = fmd5;
int j;
@@ -331,7 +331,7 @@ void rpmDisplayQueryTags(FILE * fp)
if (t->name == NULL)
continue;
if (rpmIsVerbose()) {
- static const char * tagtypes[] = {
+ static const char * const tagtypes[] = {
"", "char", "int8", "int16", "int32", "int64",
"string", "blob", "argv", "i18nstring"
};