summaryrefslogtreecommitdiff
path: root/source/fitz/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/xml.c')
-rw-r--r--source/fitz/xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/xml.c b/source/fitz/xml.c
index 989d65b6..bcd3179c 100644
--- a/source/fitz/xml.c
+++ b/source/fitz/xml.c
@@ -588,9 +588,9 @@ parse_attribute_value:
return "end of data in attribute value";
}
-static char *convert_to_utf8(fz_context *doc, unsigned char *s, size_t n, int *dofree)
+static char *convert_to_utf8(fz_context *doc, const unsigned char *s, size_t n, int *dofree)
{
- unsigned char *e = s + n;
+ const unsigned char *e = s + n;
char *dst, *d;
int c;