summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2009-08-13 02:38:11 +0200
committerTor Andersson <tor@ghostscript.com>2009-08-13 02:38:11 +0200
commitfd3f2b1374c1c726d6bb84d5dc8f3b35a22cf96d (patch)
treeafce4183dacee946bdf9e3a598cdc703d450b913
parent3347a7adc15d64fa40adacfef2fedad33952e9fa (diff)
downloadmupdf-fd3f2b1374c1c726d6bb84d5dc8f3b35a22cf96d.tar.xz
Fix signedness of char comparison.
-rw-r--r--fitz/obj_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/obj_print.c b/fitz/obj_print.c
index 534469ce..fa582496 100644
--- a/fitz/obj_print.c
+++ b/fitz/obj_print.c
@@ -131,7 +131,7 @@ static void fmthex(struct fmt *fmt, fz_obj *obj)
static void fmtname(struct fmt *fmt, fz_obj *obj)
{
- char *s = fz_toname(obj);
+ unsigned char *s = (unsigned char *) fz_toname(obj);
int i, c;
fmtputc(fmt, '/');