aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-29 20:03:00 -0400
committerPaul Gilbert2016-08-29 20:03:00 -0400
commitc13564369983e8b04b899646394c01fe65e361cb (patch)
treed4705f06b6cc05a7a781a5767575897ab8b0fbd1 /engines/titanic/support
parente7f6ccbecec6a20fe2969b962bc73e4aee725249 (diff)
downloadscummvm-rg350-c13564369983e8b04b899646394c01fe65e361cb.tar.gz
scummvm-rg350-c13564369983e8b04b899646394c01fe65e361cb.tar.bz2
scummvm-rg350-c13564369983e8b04b899646394c01fe65e361cb.zip
TITANIC: Fix compiler warnings
Diffstat (limited to 'engines/titanic/support')
-rw-r--r--engines/titanic/support/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/support/font.cpp b/engines/titanic/support/font.cpp
index 6501bdca54..e519237c3b 100644
--- a/engines/titanic/support/font.cpp
+++ b/engines/titanic/support/font.cpp
@@ -206,7 +206,7 @@ void STFont::writeString(CVideoSurface *surface, const Point &destPos, Rect &cli
}
// Iterate through each character of the string
- for (const byte *srcP = (byte *)str.c_str(); *srcP; ++srcP) {
+ for (const byte *srcP = (const byte *)str.c_str(); *srcP; ++srcP) {
byte c = *srcP;
if (c == 0xE9)
c = '$';