Skip to content

Commit a2bd3c4

Browse files
authored
Update Include/internal/pycore_long.h
1 parent 613d2a1 commit a2bd3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_long.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ static inline void
291291
_PyLong_InitTag(PyLongObject *op)
292292
{
293293
assert(PyLong_Check(op));
294-
op->long_value.lv_tag = 1; /* non-immortal zero */
294+
op->long_value.lv_tag = SIGN_ZERO; /* non-immortal zero */
295295
}
296296

297297
#define TAG_FROM_SIGN_AND_SIZE(sign, size) \

0 commit comments

Comments
 (0)