We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a684067 commit 6783662Copy full SHA for 6783662
Include/internal/pycore_stackref.h
@@ -278,7 +278,7 @@ static inline _PyStackRef
278
PyStackRef_IncrementTaggedIntNoOverflow(_PyStackRef ref)
279
{
280
assert((ref.bits & Py_TAG_BITS) == Py_INT_TAG); // Is tagged int
281
- assert((ref.bits & (~Py_TAG_BITS)) != (INT_MAX & (~Py_TAG_BITS))); // Isn't about to overflow
+ assert((ref.bits & (~Py_TAG_BITS)) != (INTPTR_MAX & (~Py_TAG_BITS))); // Isn't about to overflow
282
return (_PyStackRef){ .bits = ref.bits + 4 };
283
}
284
0 commit comments