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 /source/html | |
parent | 638384c10ff1b7b1233bec1d62db3e82cffeaafc (diff) | |
download | mupdf-c444b1b1a593ab253944cc2b33f22733115c0ff7.tar.xz |
Use unsigned char arrays in hexdumped data.
Diffstat (limited to 'source/html')
-rw-r--r-- | source/html/html-font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/html/html-font.c b/source/html/html-font.c index cf572440..d319a462 100644 --- a/source/html/html-font.c +++ b/source/html/html-font.c @@ -13,7 +13,7 @@ fz_load_html_default_font(fz_context *ctx, fz_html_font_set *set, const char *fa int idx = (is_mono ? 8 : is_sans ? 4 : 0) + is_bold * 2 + is_italic; if (!set->fonts[idx]) { - const char *data; + const unsigned char *data; int size; data = fz_lookup_builtin_font(ctx, real_family, is_bold, is_italic, &size); @@ -46,7 +46,7 @@ fz_font * fz_load_html_font(fz_context *ctx, fz_html_font_set *set, const char *family, int is_bold, int is_italic) { fz_html_font_face *custom; - const char *data; + const unsigned char *data; int size; for (custom = set->custom; custom; custom = custom->next) |