On Feb 24, 2004, at 9:38 AM, Leopold Toetsch wrote:
cvsuser 04/02/24 06:38:07
Modified: include/parrot packfile.h pf pf_items.c src packfile.c Log: try to fix Tru64 native PBC issues
The PARROT_BIGENDIAN case has a typo in pf_items.c, here's a patch to make it compile again.
-garrett
Index: pf/pf_items.c =================================================================== RCS file: /cvs/public/parrot/pf/pf_items.c,v retrieving revision 1.6 diff -u -r1.6 pf_items.c --- pf/pf_items.c 24 Feb 2004 14:38:05 -0000 1.6 +++ pf/pf_items.c 25 Feb 2004 00:03:47 -0000 @@ -588,7 +588,7 @@ if(pf->header->byteorder != PARROT_BIGENDIAN) { pf->need_endianize = 1; if (pf->header->wordsize == sizeof(opcode_t)) - pf->fetch_op = (opcode_t (*)unsigned char*)fetch_op_le; + pf->fetch_op = (opcode_t (*)(unsigned char*))fetch_op_le; else { pf->need_wordsize = 1; pf->fetch_op = fetch_op_mixed;