diff options
Diffstat (limited to 'scumm/smush/smush_font.cpp')
-rw-r--r-- | scumm/smush/smush_font.cpp | 2 |
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; |