Skip to content

Commit c59bef0

Browse files
Address Sergey's review
Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent ed04f4a commit c59bef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/longobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ _PyLong_Negate(PyLongObject **x_p)
351351
t >>= PyLong_SHIFT; \
352352
} \
353353
/* Construct output value. */ \
354-
v = long_alloc(ndigits); \
354+
PyLongObject *v = long_alloc(ndigits); \
355355
if (v != NULL) { \
356356
digit *p = v->long_value.ob_digit; \
357357
_PyLong_SetSignAndDigitCount(v, ival < 0 ? -1 : 1, ndigits); \

0 commit comments

Comments
 (0)