[Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.100,1.101

Pawel Kolodziejski aquadran at users.sourceforge.net
Sat Aug 14 02:11:24 CEST 2004


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11201/scummvm/queen

Modified Files:
	talk.cpp 
Log Message:
fixed warnings

Index: talk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/talk.cpp,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- talk.cpp	6 Aug 2004 11:28:33 -0000	1.100
+++ talk.cpp	14 Aug 2004 09:10:13 -0000	1.101
@@ -1169,7 +1169,7 @@
 	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;





More information about the Scummvm-git-logs mailing list