summaryrefslogtreecommitdiff
path: root/source/fitz/xml.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-10-11 14:06:22 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-10-12 15:18:06 +0200
commit992c7c6cf15813760f4582682f5a48daba5d4239 (patch)
treefaffce19eb79fd8ed7dbc16b74abd798e8bd196f /source/fitz/xml.c
parenta94e86a03d3059b2bd7f48b9bbc436253bd2d94e (diff)
downloadmupdf-992c7c6cf15813760f4582682f5a48daba5d4239.tar.xz
Some more consts.
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;