From fafde890244e2344af56ee61fb02df8d88004f92 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 2 Dec 2008 17:11:25 +0000 Subject: [PATCH] SetU30->SetABCU32 --- lib/as3/pool.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/as3/pool.c b/lib/as3/pool.c index 0db750a..e9376f3 100644 --- a/lib/as3/pool.c +++ b/lib/as3/pool.c @@ -995,7 +995,7 @@ void pool_read(pool_t*pool, TAG*tag) DEBUG printf("%d ints\n", num_ints); int t; for(t=1;tx_ints, &v, 0); } @@ -1003,7 +1003,7 @@ void pool_read(pool_t*pool, TAG*tag) int num_uints = swf_GetU30(tag); DEBUG printf("%d uints\n", num_uints); for(t=1;tx_uints, &v, 0); } @@ -1137,11 +1137,11 @@ void pool_write(pool_t*pool, TAG*tag) swf_SetU30(tag, pool->x_ints->num>1?pool->x_ints->num:0); for(t=1;tx_ints->num;t++) { S32 val = *(int*)array_getkey(pool->x_ints, t); - swf_SetS30(tag, val); + swf_SetABCS32(tag, val); } swf_SetU30(tag, pool->x_uints->num>1?pool->x_uints->num:0); for(t=1;tx_uints->num;t++) { - swf_SetU30(tag, *(unsigned int*)array_getkey(pool->x_uints, t)); + swf_SetABCU32(tag, *(unsigned int*)array_getkey(pool->x_uints, t)); } swf_SetU30(tag, pool->x_floats->num>1?pool->x_floats->num:0); for(t=1;tx_floats->num;t++) { -- 1.7.10.4