aboutsummaryrefslogtreecommitdiffstats
path: root/subversion/libsvn_subr/x509info.c
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/libsvn_subr/x509info.c')
-rw-r--r--subversion/libsvn_subr/x509info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subversion/libsvn_subr/x509info.c b/subversion/libsvn_subr/x509info.c
index 9cd437249118..a24611c3f8ed 100644
--- a/subversion/libsvn_subr/x509info.c
+++ b/subversion/libsvn_subr/x509info.c
@@ -128,7 +128,7 @@ typedef struct asn1_oid {
const char *long_label;
} asn1_oid;
-#define CONSTANT_PAIR(c) (unsigned char *)(c), sizeof((c)) - 1
+#define CONSTANT_PAIR(c) (const unsigned char *)(c), sizeof((c)) - 1
static const asn1_oid asn1_oids[] = {
{ CONSTANT_PAIR(SVN_X509_OID_COMMON_NAME), "CN", "commonName" },