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

mikehh at svn.parrot.org mikehh at svn.parrot.org
Fri Jun 25 04:39:53 UTC 2010


Author: mikehh
Date: Fri Jun 25 04:39:53 2010
New Revision: 47824
URL: https://trac.parrot.org/parrot/changeset/47824

Log:
add cast(s) to get g++ to build

Modified:
   trunk/src/pmc/class.pmc

Modified: trunk/src/pmc/class.pmc
==============================================================================
--- trunk/src/pmc/class.pmc	Fri Jun 25 03:57:12 2010	(r47823)
+++ trunk/src/pmc/class.pmc	Fri Jun 25 04:39:53 2010	(r47824)
@@ -1125,8 +1125,8 @@
             /* for Hash return values, create and return a shallow
              * clone because the VTABLE_clone does a deep clone */
             PMC * const hash = Parrot_pmc_new(INTERP, enum_class_Hash);
-            Hash       *src  = VTABLE_get_pointer(interp, found);
-            Hash       *dest = VTABLE_get_pointer(interp, hash);
+            Hash       *src  = (Hash *)VTABLE_get_pointer(interp, found);
+            Hash       *dest = (Hash *)VTABLE_get_pointer(interp, hash);
 
             parrot_hash_clone_prunable(interp, src, dest, 0);
 


More information about the parrot-commits mailing list