Tweaks to keep the Microsoft compiler quiet.

This commit is contained in:
Guido van Rossum 1997-04-09 19:41:24 +00:00
parent 644a12b00c
commit 2095d24842
5 changed files with 18 additions and 18 deletions

View file

@ -168,7 +168,7 @@ lookmapping(mp, key, hash)
register unsigned incr;
register unsigned long sum = (unsigned long) hash;
register mappingentry *freeslot = NULL;
register int mask = mp->ma_size-1;
register unsigned int mask = mp->ma_size-1;
mappingentry *ep0 = mp->ma_table;
register mappingentry *ep;
/* We must come up with (i, incr) such that 0 <= i < ma_size