develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r36056 - trunk/src

From:
julianalbo
Date:
January 27, 2009 08:20
Subject:
[svn:parrot] r36056 - trunk/src
Message ID:
20090127162008.3E47ECB9AE@x12.develooper.com
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);



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About