summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/names.c2
-rw-r--r--rpmio/rpmlog.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/names.c b/build/names.c
index 14fdad41f..26a352b1f 100644
--- a/build/names.c
+++ b/build/names.c
@@ -10,7 +10,7 @@
#include <rpm/rpmlog.h>
#include "debug.h"
-typedef const char * ugstr_t;
+typedef char * ugstr_t;
static uid_t uids[1024];
static ugstr_t unames[1024];
diff --git a/rpmio/rpmlog.c b/rpmio/rpmlog.c
index 450e57fe4..87ecdb189 100644
--- a/rpmio/rpmlog.c
+++ b/rpmio/rpmlog.c
@@ -13,7 +13,7 @@ static rpmlogRec recs = NULL;
struct rpmlogRec_s {
int code; /* unused */
rpmlogLvl pri; /* priority */
- const char * message; /* log message string */
+ char * message; /* log message string */
};
int rpmlogGetNrecs(void)