commit | 2095d24842e34f7f85d5025767134badbf9dd44f | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Apr 09 19:41:24 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Apr 09 19:41:24 1997 +0000 |
tree | 724dd51fb529ce578a677e7c0a304619c068a39c | |
parent | 644a12b00ce6a361089b488aa8096a6c86b52275 [diff] [blame] |
Tweaks to keep the Microsoft compiler quiet.
diff --git a/Objects/listobject.c b/Objects/listobject.c index 8aca28d..e2f6fd8 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c
@@ -67,7 +67,7 @@ } nbytes = size * sizeof(object *); /* Check for overflow */ - if (nbytes / sizeof(object *) != size) { + if (nbytes / sizeof(object *) != (size_t)size) { return err_nomem(); } op = (listobject *) malloc(sizeof(listobject));