summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-06-19 14:37:59 +0200
committerRobin Watts <robin.watts@artifex.com>2017-06-22 15:46:56 +0100
commitc444b1b1a593ab253944cc2b33f22733115c0ff7 (patch)
tree2f6d52f6186e4c894bdf2741481bb7fd31cee4cb /scripts
parent638384c10ff1b7b1233bec1d62db3e82cffeaafc (diff)
downloadmupdf-c444b1b1a593ab253944cc2b33f22733115c0ff7.tar.xz
Use unsigned char arrays in hexdumped data.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/hexdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/hexdump.c b/scripts/hexdump.c
index 18f6ac15..3e35105d 100644
--- a/scripts/hexdump.c
+++ b/scripts/hexdump.c
@@ -107,7 +107,7 @@ main(int argc, char **argv)
fseek(fi, 0, SEEK_SET);
fprintf(fo, "const int fz_%s_size = %d;\n", filename, size + zero);
- fprintf(fo, "const char fz_%s[] =", filename);
+ fprintf(fo, "const unsigned char fz_%s[] =", filename);
fprintf(fo, string ? "\n" : " {\n");
hexdump(fo, fi);
if (!zero)