From 7c9a54209a2758769102361a456353e7e5993821 Mon Sep 17 00:00:00 2001 From: Ken Sharp Date: Tue, 13 Mar 2018 10:37:08 +0000 Subject: Squash a benign compiler warning --- devices/vector/gdevpdtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.1