From: kramm Date: Mon, 24 Nov 2008 16:15:22 +0000 (+0000) Subject: regenerated X-Git-Tag: release-0-9-0~757 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=f51315b97bddf5214699578ea34285fb9f7d963f;p=swftools.git regenerated --- diff --git a/lib/as3/opcodes.c b/lib/as3/opcodes.c index 197f917..4197ec3 100644 --- a/lib/as3/opcodes.c +++ b/lib/as3/opcodes.c @@ -757,10 +757,10 @@ code_t* abc_pushfalse(code_t*prev) code_t*self = add_opcode(prev, 0x27); return self; } -code_t* abc_pushint(code_t*prev, abc_method_t* m) +code_t* abc_pushint(code_t*prev, int i) { code_t*self = add_opcode(prev, 0x2d); - self->data[0] = m; + self->data[0] = (void*)(ptroff_t)i; return self; } code_t* abc_pushnamespace(code_t*prev, int v) diff --git a/lib/as3/opcodes.h b/lib/as3/opcodes.h index e4cbb7a..d068e3c 100644 --- a/lib/as3/opcodes.h +++ b/lib/as3/opcodes.h @@ -263,8 +263,8 @@ code_t* abc_pushdouble(code_t*prev, double f); #define pushdouble(method,f) (method->code = abc_pushdouble(method->code,f)) code_t* abc_pushfalse(code_t*prev); #define pushfalse(method) (method->code = abc_pushfalse(method->code)) -code_t* abc_pushint(code_t*prev, abc_method_t* m); -#define pushint(method,m) (method->code = abc_pushint(method->code,m)) +code_t* abc_pushint(code_t*prev, int i); +#define pushint(method,i) (method->code = abc_pushint(method->code,i)) code_t* abc_pushnamespace(code_t*prev, int v); #define pushnamespace(method,v) (method->code = abc_pushnamespace(method->code,v)) code_t* abc_pushnan(code_t*prev);