[svn:parrot] r49097 - branches/gc_massacre/src

bacek at svn.parrot.org bacek at svn.parrot.org
Fri Sep 17 23:44:50 UTC 2010


Author: bacek
Date: Fri Sep 17 23:44:50 2010
New Revision: 49097
URL: https://trac.parrot.org/parrot/changeset/49097

Log:
remove a compiler warning related to const

Modified:
   branches/gc_massacre/src/hash.c

Modified: branches/gc_massacre/src/hash.c
==============================================================================
--- branches/gc_massacre/src/hash.c	Fri Sep 17 23:44:35 2010	(r49096)
+++ branches/gc_massacre/src/hash.c	Fri Sep 17 23:44:50 2010	(r49097)
@@ -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