diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-06-19 14:37:59 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-06-22 15:46:56 +0100 |
commit | c444b1b1a593ab253944cc2b33f22733115c0ff7 (patch) | |
tree | 2f6d52f6186e4c894bdf2741481bb7fd31cee4cb /scripts/hexdump.c | |
parent | 638384c10ff1b7b1233bec1d62db3e82cffeaafc (diff) | |
download | mupdf-c444b1b1a593ab253944cc2b33f22733115c0ff7.tar.xz |
Use unsigned char arrays in hexdumped data.
Diffstat (limited to 'scripts/hexdump.c')
-rw-r--r-- | scripts/hexdump.c | 2 |
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) |