diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2018-03-13 10:37:08 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2018-03-13 11:26:42 +0000 |
commit | 7c9a54209a2758769102361a456353e7e5993821 (patch) | |
tree | 549e7ed47ed9ec03b8db06aa82b6719fc9912025 | |
parent | 353c6caa4b8dea6baae337b30217139e996e9b94 (diff) | |
download | ghostpdl-7c9a54209a2758769102361a456353e7e5993821.tar.gz |
Squash a benign compiler warning
-rw-r--r-- | devices/vector/gdevpdtt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/vector/gdevpdtt.c b/devices/vector/gdevpdtt.c index 80b5a66ef..5dcc4b1fa 100644 --- a/devices/vector/gdevpdtt.c +++ b/devices/vector/gdevpdtt.c @@ -2795,7 +2795,7 @@ static int pdf_choose_output_glyph_hame(gx_device_pdf *pdev, pdf_text_enum_t *penum, gs_const_string *gnstr, gs_glyph glyph) { if (penum->orig_font->FontType == ft_composite || penum->orig_font->procs.glyph_name(penum->orig_font, glyph, gnstr) < 0 - || (penum->orig_font->FontType > 42 && gnstr->size == 7 && strcmp(gnstr->data, ".notdef")== 0)) { + || (penum->orig_font->FontType > 42 && gnstr->size == 7 && strcmp((const char *)gnstr->data, ".notdef")== 0)) { /* If we're capturing a PCL bitmap, and the glyph comes back with a name of '/.notdef' then * generate a name instead. There's nothing wrong technically with using /.notdef, but Acrobat does * 'special stuff' with that name, and messes up the display. See bug #699102. |