Author: julianalbo
Date: Tue Jan 27 08:20:07 2009
New Revision: 36056
Modified:
trunk/src/pbc_merge.c
Log:
fix a const issue that disallows c++ build
Modified: trunk/src/pbc_merge.c
==============================================================================
--- trunk/src/pbc_merge.c (original)
+++ trunk/src/pbc_merge.c Tue Jan 27 08:20:07 2009
@@ -759,7 +759,7 @@
op_num == PARROT_OP_get_params_pc ||
op_num == PARROT_OP_set_returns_pc) {
/* Get the signature. */
- const PMC * const sig = bc->const_table->constants[op_ptr[1]]->u.key;
+ PMC * const sig = bc->const_table->constants[op_ptr[1]]->u.key;
/* Loop over the arguments to locate any that need a fixup. */
const int sig_items = VTABLE_elements(interp, sig);