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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Apr 4 01:06:42 CEST 2009


Revision: 39821
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39821&view=rev
Author:   thebluegr
Date:     2009-04-03 23:06:42 +0000 (Fri, 03 Apr 2009)

Log Message:
-----------
Fixed compilation (a signed byte cannot hold such big values)

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/lol.h
    scummvm/trunk/engines/kyra/staticres.cpp

Modified: scummvm/trunk/engines/kyra/lol.h
===================================================================
--- scummvm/trunk/engines/kyra/lol.h	2009-04-03 22:48:55 UTC (rev 39820)
+++ scummvm/trunk/engines/kyra/lol.h	2009-04-03 23:06:42 UTC (rev 39821)
@@ -1205,7 +1205,7 @@
 	uint8 *_mapCursorOverlay;
 	uint8 _automapTopLeftX;
 	uint8 _automapTopLeftY;
-	static const int8 _mapCoords[12][4];
+	static const uint8 _mapCoords[12][4];
 	bool _mapUpdateNeeded;
 };
 

Modified: scummvm/trunk/engines/kyra/staticres.cpp
===================================================================
--- scummvm/trunk/engines/kyra/staticres.cpp	2009-04-03 22:48:55 UTC (rev 39820)
+++ scummvm/trunk/engines/kyra/staticres.cpp	2009-04-03 23:06:42 UTC (rev 39821)
@@ -3063,7 +3063,7 @@
 	0x51, 0x52, 0x08, 0x09, 0x0A
 };
 
-const int8 LoLEngine::_mapCoords[12][4] = {
+const uint8 LoLEngine::_mapCoords[12][4] = {
 	{ 0x00, 0x07, 0x00, 0xFB }, { 0xFB, 0x00, 0x06, 0x00 }, { 0x07, 0x05, 0x07, 0x01 },
 	{ 0x05, 0x06, 0x04, 0x06 }, { 0x00, 0x07, 0x00, 0xFF }, { 0xFD, 0x00, 0x06, 0x00 },
 	{ 0x06, 0x07, 0x06, 0xFD }, { 0xFD, 0x05, 0x06, 0x05 }, { 0x01, 0x05, 0x01, 0x01 },


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