aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush
diff options
context:
space:
mode:
authorPaweł Kołodziejski2004-08-14 09:10:14 +0000
committerPaweł Kołodziejski2004-08-14 09:10:14 +0000
commitd62ff5dca7b9bb7009d4edc91c2e3f31863ecb7d (patch)
treecf6e3788676edd2e59d926442f0f0f18166b0d8e /scumm/smush
parent80bcaf8d0943ffcaa8f669fd773374877f7e1428 (diff)
downloadscummvm-rg350-d62ff5dca7b9bb7009d4edc91c2e3f31863ecb7d.tar.gz
scummvm-rg350-d62ff5dca7b9bb7009d4edc91c2e3f31863ecb7d.tar.bz2
scummvm-rg350-d62ff5dca7b9bb7009d4edc91c2e3f31863ecb7d.zip
fixed warnings
svn-id: r14603
Diffstat (limited to 'scumm/smush')
-rw-r--r--scumm/smush/smush_font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/smush/smush_font.cpp b/scumm/smush/smush_font.cpp
index 533129904e..169c131508 100644
--- a/scumm/smush/smush_font.cpp
+++ b/scumm/smush/smush_font.cpp
@@ -162,7 +162,7 @@ void SmushFont::drawString(const char *str, byte *buffer, int dst_width, int dst
while (str) {
char line[256];
- char *pos = strchr(str, '\n');
+ char *pos = (char *)strchr(str, '\n');
if (pos) {
memcpy(line, str, pos - str - 1);
line[pos - str - 1] = 0;