Permalink
Browse files

Merge branch 'vms-usize_t-gh854'

  • Loading branch information...
2 parents 87ac5ce + fedbe5e commit 174ce54da8babf72e59b6f81fdaa10cabd007b7f Reini Urban committed Oct 3, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/hash.c
View
@@ -850,7 +850,8 @@ expand_hash(PARROT_INTERP, ARGMOD(Hash *hash))
const UINTVAL old_size = hash->mask + 1;
const UINTVAL new_size = old_size << 1; /* Double. Right-shift is 2x */
const UINTVAL new_mask = new_size - 1;
- size_t offset, i;
+ size_t i;
+ ptrdiff_t offset;
/*
allocate some less buckets

0 comments on commit 174ce54

Please sign in to comment.