mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Trent Mick: change a few casts for Win64 compatibility.
This commit is contained in:
parent
2c9cb7aff3
commit
ad89bbcd88
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue