summaryrefslogtreecommitdiff
path: root/expat/lib/xmltok.c
diff options
context:
space:
mode:
Diffstat (limited to 'expat/lib/xmltok.c')
-rw-r--r--expat/lib/xmltok.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expat/lib/xmltok.c b/expat/lib/xmltok.c
index c4627935..8654d5a1 100644
--- a/expat/lib/xmltok.c
+++ b/expat/lib/xmltok.c
@@ -243,7 +243,7 @@ static int FASTCALL checkCharRefNumber(int);
#endif
#define SB_BYTE_TYPE(enc, p) \
- (((struct normal_encoding *)(enc))->type[(unsigned char)*(p)])
+ (((const struct normal_encoding *)(enc))->type[(unsigned char)*(p)])
#ifdef XML_MIN_SIZE
static int PTRFASTCALL