diff options
author | Guido van Rossum <guido@python.org> | 1997-04-09 19:41:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-04-09 19:41:24 (GMT) |
commit | 2095d24842e34f7f85d5025767134badbf9dd44f (patch) | |
tree | 724dd51fb529ce578a677e7c0a304619c068a39c /Objects/dictobject.c | |
parent | 644a12b00ce6a361089b488aa8096a6c86b52275 (diff) | |
download | cpython-2095d24842e34f7f85d5025767134badbf9dd44f.zip cpython-2095d24842e34f7f85d5025767134badbf9dd44f.tar.gz cpython-2095d24842e34f7f85d5025767134badbf9dd44f.tar.bz2 |
Tweaks to keep the Microsoft compiler quiet.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r-- | Objects/dictobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 51f0018..cd915e9 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -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 |