aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-31 19:39:00 -0400
committerPaul Gilbert2016-10-31 19:39:00 -0400
commit3185ca49571389023197c83f7539daf67f1f5f59 (patch)
tree5460342ef2c760e07fb8cdd453d1619ddb561160 /graphics
parent97daed745631aa929b416db9cfc0643357839bd8 (diff)
downloadscummvm-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.cpp2
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;