[Scummvm-cvs-logs] CVS: scummvm-new/scumm/smush codec37.cpp,1.3,1.4
Ruediger Hanke
tomjoad at users.sourceforge.net
Sun Aug 25 13:13:02 CEST 2002
Update of /cvsroot/scummvm/scummvm-new/scumm/smush
In directory usw-pr-cvs1:/tmp/cvs-serv15453
Modified Files:
codec37.cpp
Log Message:
Please note that char type is not an abbreviation for signed char ... is can be (and is) unsigned on some systems
Index: codec37.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm-new/scumm/smush/codec37.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- codec37.cpp 24 Aug 2002 23:21:55 -0000 1.3
+++ codec37.cpp 25 Aug 2002 20:12:04 -0000 1.4
@@ -85,7 +85,7 @@
}
void Codec37Decoder::maketable(int pitch, int index) {
- static const char maketable_bytes[] = {
+ static const signed char maketable_bytes[] = {
0, 0, 1, 0, 2, 0, 3, 0, 5, 0, 8, 0, 13, 0, 21, 0,
-1, 0, -2, 0, -3, 0, -5, 0, -8, 0, -13, 0, -17, 0, -21, 0,
0, 1, 1, 1, 2, 1, 3, 1, 5, 1, 8, 1, 13, 1, 21, 1,
More information about the Scummvm-git-logs
mailing list