summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c2
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 {