summaryrefslogtreecommitdiffstats
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-09 19:41:24 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-09 19:41:24 (GMT)
commit2095d24842e34f7f85d5025767134badbf9dd44f (patch)
tree724dd51fb529ce578a677e7c0a304619c068a39c /Objects/dictobject.c
parent644a12b00ce6a361089b488aa8096a6c86b52275 (diff)
downloadcpython-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.c2
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