[Scummvm-cvs-logs] CVS: scummvm/scumm/smush codec47.cpp,1.68,1.69

Max Horn fingolfin at users.sourceforge.net
Tue Feb 22 10:25:47 CET 2005


Update of /cvsroot/scummvm/scummvm/scumm/smush
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10530/smush

Modified Files:
	codec47.cpp 
Log Message:
Added consts (this usually helps the compiler a bit when optimizing code)

Index: codec47.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/codec47.cpp,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- codec47.cpp	1 Jan 2005 16:09:18 -0000	1.68
+++ codec47.cpp	22 Feb 2005 18:24:24 -0000	1.69
@@ -84,9 +84,9 @@
 };
 
 #ifdef __PALM_OS__
-static int8 *codec47_table;
+static const int8 *codec47_table;
 #else
-static int8 codec47_table[] = {
+static const int8 codec47_table[] = {
 		0,   0,  -1, -43,   6, -43,  -9, -42,  13, -41,
 	-16, -40,  19, -39, -23, -36,  26, -34,  -2, -33,
 	  4, -33, -29, -32,  -9, -32,  11, -31, -16, -29,





More information about the Scummvm-git-logs mailing list