Skip to content

Commit 1df4e70

Browse files
committed
Fix build on Windows
1 parent 8143081 commit 1df4e70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Include/internal/pycore_long.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ _PyLong_IsSmallInt(const PyLongObject *op)
236236
if (_PyLong_IsCompact(op)) {
237237
Py_ssize_t value = _PyLong_CompactValue(op);
238238
if (_PY_IS_SMALL_INT(value)) {
239-
PyLongObject *small;
240-
small = &_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + value];
241-
is_small_int = (op == small);
239+
PyLongObject *small_obj;
240+
small_obj = &_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + value];
241+
is_small_int = (op == small_obj);
242242
}
243243
}
244244
assert(PyLong_CheckExact(op) || (!is_small_int));

0 commit comments

Comments
 (0)