[svn:parrot] r45298 - trunk/src/pmc

mikehh at svn.parrot.org mikehh at svn.parrot.org
Tue Mar 30 01:34:01 UTC 2010


Author: mikehh
Date: Tue Mar 30 01:34:01 2010
New Revision: 45298
URL: https://trac.parrot.org/parrot/changeset/45298

Log:
g++ does not like the extra const

Modified:
   trunk/src/pmc/packfile.pmc

Modified: trunk/src/pmc/packfile.pmc
==============================================================================
--- trunk/src/pmc/packfile.pmc	Tue Mar 30 01:33:45 2010	(r45297)
+++ trunk/src/pmc/packfile.pmc	Tue Mar 30 01:34:01 2010	(r45298)
@@ -171,7 +171,7 @@
 */
     VTABLE void set_string_native(STRING *str) {
         PackFile  * const pf  = PackFile_new(interp, 0);
-        opcode_t  * const ptr = (const opcode_t*)Parrot_string_cstring(interp, str);
+        opcode_t  * const ptr = (opcode_t *)Parrot_string_cstring(interp, str);
         const int length      = Parrot_str_byte_length(interp, str);
         Parrot_Packfile_attributes * const attrs = PARROT_PACKFILE(SELF);
 


More information about the parrot-commits mailing list