Skip to content

Commit

Permalink
[pmc] fix cotto--'s fix to OrderedHash
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@34126 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
cotto committed Dec 20, 2008
1 parent dd5b7b0 commit 16f2089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pmc/orderedhash.pmc
Expand Up @@ -583,7 +583,7 @@ the clone via integers has different indices, if items were deleted.
Hash * const h_dest = (Hash *)PMC_struct_val(dest);
UINTVAL i;

for (i = 0; i <= N_BUCKETS(hash->mask+1); i++) {
for (i = 0; i <= N_BUCKETS(hash->mask-1); i++) {
HashBucket * const b = hash->bs + i;
void * const key = b->key;

Expand Down

0 comments on commit 16f2089

Please sign in to comment.