From 23a9d901ffe61f838710c065ce0cb6b9eec730b3 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 5 Sep 2004 15:57:18 +0000 Subject: [PATCH] fixed big-endian problems. --- lib/modules/swfaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/modules/swfaction.c b/lib/modules/swfaction.c index eb876d6..83ae836 100644 --- a/lib/modules/swfaction.c +++ b/lib/modules/swfaction.c @@ -354,7 +354,7 @@ void swf_DumpActions(ActionTAG*atag, char*prefix) #endif } break; case 'C': { - poollen = *(U16*)data; + poollen = data[0]+256*data[1]; entry = 0; printf("(%d entries)", poollen); } break; @@ -576,7 +576,7 @@ int swf_ActionEnumerate(ActionTAG*atag, char*(*callback)(char*), int type) } } break; case 'C': { - poollen = (*(U16*)data); + poollen = (data[0]+256*data[1]); } break; case 'o': { } break; -- 1.7.10.4