bugfix: jump addresses are signed.
authorkramm <kramm>
Sun, 21 Apr 2002 21:23:30 +0000 (21:23 +0000)
committerkramm <kramm>
Sun, 21 Apr 2002 21:23:30 +0000 (21:23 +0000)
lib/modules/swfaction.c

index 933410d..f9d9699 100644 (file)
@@ -308,7 +308,7 @@ void swf_DumpActions(ActionTAG*atag, char*prefix)
                    printf(" %d", *data);
                } break;
                case 'b': {
-                   printf(" %d", data[0]+256*data[1]);
+                   printf(" %d", data[0]+256*(signed char)data[1]);
                } break;
                case 'p': {
                    U8 type = *data;