diff options
author | Max Horn | 2009-10-09 23:09:28 +0000 |
---|---|---|
committer | Max Horn | 2009-10-09 23:09:28 +0000 |
commit | 8b3ff337beadb78a8baca971043266f9a019d104 (patch) | |
tree | bcaf49090d75cefa38700055bc8f525eb7cc8b01 /engines/sci | |
parent | d0876b06ed71979ee8f1370e738b5d4d7ba89d75 (diff) | |
download | scummvm-rg350-8b3ff337beadb78a8baca971043266f9a019d104.tar.gz scummvm-rg350-8b3ff337beadb78a8baca971043266f9a019d104.tar.bz2 scummvm-rg350-8b3ff337beadb78a8baca971043266f9a019d104.zip |
don't discard const qualifier needlessly
svn-id: r44854
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/gfx/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/font.cpp b/engines/sci/gfx/font.cpp index d695915cb1..387c41e889 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; |