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

cotto at svn.parrot.org cotto at svn.parrot.org
Sun Feb 1 13:24:38 UTC 2009


Author: cotto
Date: Sun Feb  1 13:24:38 2009
New Revision: 36245
URL: https://trac.parrot.org/parrot/changeset/36245

Log:
[pmc] avoid a casting warning

Modified:
   trunk/src/pmc/iterator.pmc

Modified: trunk/src/pmc/iterator.pmc
==============================================================================
--- trunk/src/pmc/iterator.pmc	Sun Feb  1 13:03:58 2009	(r36244)
+++ trunk/src/pmc/iterator.pmc	Sun Feb  1 13:24:38 2009	(r36245)
@@ -664,7 +664,7 @@
     }
 
     METHOD get_key() {
-        PMC *key = PMC_struct_val(SELF);
+        PMC *key = (PMC*)PMC_struct_val(SELF);
         RETURN(PMC *key);
     }
 


More information about the parrot-commits mailing list