[svn:parrot] r48977 - trunk/src

mikehh at svn.parrot.org mikehh at svn.parrot.org
Mon Sep 13 12:25:38 UTC 2010


Author: mikehh
Date: Mon Sep 13 12:25:38 2010
New Revision: 48977
URL: https://trac.parrot.org/parrot/changeset/48977

Log:
remove a compiler warning related to const

Modified:
   trunk/src/hash.c

Modified: trunk/src/hash.c
==============================================================================
--- trunk/src/hash.c	Mon Sep 13 12:01:41 2010	(r48976)
+++ trunk/src/hash.c	Mon Sep 13 12:25:38 2010	(r48977)
@@ -1465,7 +1465,7 @@
 
     if (hash->key_type == Hash_key_type_STRING) {
         const STRING * const s = (STRING *)key;
-        hashval                = key_hash_STRING(interp, (STRING *)s, hash->seed);
+        hashval                = key_hash_STRING(interp, (STRING *)key, hash->seed);
         bucket                 = hash->index[hashval & hash->mask];
 
         while (bucket) {


More information about the parrot-commits mailing list