[Scummvm-cvs-logs] SF.net SVN: scummvm: [31359] scummvm/trunk/engines/kyra/sequences_v2.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Wed Apr 2 04:46:51 CEST 2008


Revision: 31359
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31359&view=rev
Author:   lordhoto
Date:     2008-04-01 19:46:50 -0700 (Tue, 01 Apr 2008)

Log Message:
-----------
Fixed warnings with gcc 3.3.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/sequences_v2.cpp

Modified: scummvm/trunk/engines/kyra/sequences_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sequences_v2.cpp	2008-04-02 02:15:47 UTC (rev 31358)
+++ scummvm/trunk/engines/kyra/sequences_v2.cpp	2008-04-02 02:46:50 UTC (rev 31359)
@@ -2408,11 +2408,11 @@
 			int m = cnt * 11;
 			uint16 cH = cnt ? READ_LE_UINT16(&tmp[m + 2]) + tmp[m + 9] + (tmp[m + 9] >> 3) : d->h;
 
-			const char *str = (const char*)ptr;
+			char *str = (char*)ptr;
 
-			ptr = (uint8*)strpbrk((const char*)str, mark);
+			ptr = (uint8*)strpbrk(str, mark);
 			if (!ptr)
-				ptr = (uint8*)strchr((const char*)str, 0);
+				ptr = (uint8*)strchr(str, 0);
 
 			tmp[m + 19] = *ptr;
 			*ptr = 0;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list