aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuediger Hanke2002-08-25 20:12:04 +0000
committerRuediger Hanke2002-08-25 20:12:04 +0000
commit31562600b7ff4f2b467336df153204276ad4a9b6 (patch)
treed847a4d1b1cde4dd515af2049a0469c8dbdef86e
parentb3f038b8dfc9e1ce239b906ffadd3356cb28c331 (diff)
downloadscummvm-rg350-31562600b7ff4f2b467336df153204276ad4a9b6.tar.gz
scummvm-rg350-31562600b7ff4f2b467336df153204276ad4a9b6.tar.bz2
scummvm-rg350-31562600b7ff4f2b467336df153204276ad4a9b6.zip
Please note that char type is not an abbreviation for signed char ... is can be (and is) unsigned on some systems
svn-id: r4857
-rw-r--r--scumm/smush/codec37.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/smush/codec37.cpp b/scumm/smush/codec37.cpp
index 3313ab6c5f..bb59606c34 100644
--- a/scumm/smush/codec37.cpp
+++ b/scumm/smush/codec37.cpp
@@ -85,7 +85,7 @@ Codec37Decoder::~Codec37Decoder() {
}
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,