diff options
author | Paul Gilbert | 2016-10-31 19:39:00 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-10-31 19:39:00 -0400 |
commit | 3185ca49571389023197c83f7539daf67f1f5f59 (patch) | |
tree | 5460342ef2c760e07fb8cdd453d1619ddb561160 /graphics | |
parent | 97daed745631aa929b416db9cfc0643357839bd8 (diff) | |
download | scummvm-rg350-3185ca49571389023197c83f7539daf67f1f5f59.tar.gz scummvm-rg350-3185ca49571389023197c83f7539daf67f1f5f59.tar.bz2 scummvm-rg350-3185ca49571389023197c83f7539daf67f1f5f59.zip |
GRAPHICS: Fix compiler warning in BdfFont
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/fonts/bdf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/fonts/bdf.cpp b/graphics/fonts/bdf.cpp index fec5392f8c..511ea5cde1 100644 --- a/graphics/fonts/bdf.cpp +++ b/graphics/fonts/bdf.cpp @@ -759,7 +759,7 @@ BdfFont *BdfFont::scaleFont(BdfFont *src, int newSize) { byte *ptr = bitmaps[i]; for (int y = 0; y < box.height; y++) { - byte *srcd = (byte *)&src->_data.bitmaps[i][((int)((float)y / scale)) * srcPitch]; + const byte *srcd = (const byte *)&src->_data.bitmaps[i][((int)((float)y / scale)) * srcPitch]; byte *dst = ptr; byte b = 0; |