Mercurial > cpython-lru_cache-weakref
diff Objects/object.c @ 13089:bf1ebe869878 legacy-trunk
Trent Mick: change a few casts for Win64 compatibility.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 28 Jun 2000 21:57:18 +0000 |
| parents | 1a40f00a48bf |
| children | cca84745da3e |
line wrap: on
line diff
--- a/Objects/object.c Wed Jun 28 21:57:05 2000 +0000 +++ b/Objects/object.c Wed Jun 28 21:57:18 2000 +0000 @@ -366,7 +366,7 @@ if (pair == NULL) { return NULL; } - if ((long)v <= (long)w) { + if (v <= w) { PyTuple_SET_ITEM(pair, 0, PyLong_FromVoidPtr((void *)v)); PyTuple_SET_ITEM(pair, 1, PyLong_FromVoidPtr((void *)w)); } else {
