diff --git a/engines/sci/gfx/font.cpp b/engines/sci/gfx/font.cpp index d695915cb1d..387c41e8896 100644 --- a/engines/sci/gfx/font.cpp +++ b/engines/sci/gfx/font.cpp @@ -172,7 +172,7 @@ static void render_char(byte *dest, byte *src, int width, int line_width, int li } gfx_pixmap_t *gfxr_draw_font(gfx_bitmap_font_t *font, const char *stext, int characters, PaletteEntry *fg0, PaletteEntry *fg1, PaletteEntry *bg) { - const byte *text = (byte *)stext; + const byte *text = (const byte *)stext; int height = font->height; int width = 0; gfx_pixmap_t *pxm;