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

NotFound at svn.parrot.org NotFound at svn.parrot.org
Wed Aug 11 00:34:51 UTC 2010


Author: NotFound
Date: Wed Aug 11 00:34:51 2010
New Revision: 48394
URL: https://trac.parrot.org/parrot/changeset/48394

Log:
add a cast to make c++ happy

Modified:
   trunk/src/pmc/hash.pmc

Modified: trunk/src/pmc/hash.pmc
==============================================================================
--- trunk/src/pmc/hash.pmc	Tue Aug 10 23:50:15 2010	(r48393)
+++ trunk/src/pmc/hash.pmc	Wed Aug 11 00:34:51 2010	(r48394)
@@ -700,7 +700,7 @@
         /* special case the most likely key type, for speed */
         key = hash->key_type == Hash_key_type_STRING
             ? key
-            : hash_key_from_string(INTERP, hash, key);
+            : (STRING *)hash_key_from_string(INTERP, hash, key);
 
         b = parrot_hash_get_bucket(INTERP, hash, key);
 


More information about the parrot-commits mailing list