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 --- queen/talk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'queen') diff --git a/queen/talk.cpp b/queen/talk.cpp index 4942ee66c0..1c4a2296ab 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -1169,7 +1169,7 @@ int Talk::splitOptionHebrew(const char *str, char optionText[5][MAX_STRING_SIZE] uint16 width = 0; uint16 optionLines = 0; uint16 maxTextLen = MAX_TEXT_WIDTH; - char *p = strchr(str, '\0'); + char *p = (char *)strchr(str, '\0'); while (p != str - 1) { while (*p != ' ' && p != str - 1) { --p; -- cgit v1.2.3