diff options
author | Guido van Rossum <guido@python.org> | 2000-06-28 21:57:18 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-06-28 21:57:18 (GMT) |
commit | ad89bbcd887724a1b199671dce9ae7c7718f6866 (patch) | |
tree | fe5072cbbb7d0d795396d2fdbcb48ca181f1b47f /Objects/object.c | |
parent | 2c9cb7aff3c19328f767d41d429549c1f7d8863f (diff) | |
download | cpython-ad89bbcd887724a1b199671dce9ae7c7718f6866.zip cpython-ad89bbcd887724a1b199671dce9ae7c7718f6866.tar.gz cpython-ad89bbcd887724a1b199671dce9ae7c7718f6866.tar.bz2 |
Trent Mick: change a few casts for Win64 compatibility.
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index 5560792..9a0e87c 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -366,7 +366,7 @@ make_pair(v, w) 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 { |