From d62ff5dca7b9bb7009d4edc91c2e3f31863ecb7d Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 14 Aug 2004 09:10:14 +0000 Subject: fixed warnings svn-id: r14603 --- scumm/smush/smush_font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/smush') 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; -- cgit v1.2.3