Skip to content

Commit c25b910

Browse files
committed
Undo the changes
1 parent 11ad06f commit c25b910

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Objects/longobject.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,9 @@ PyLong_FromLong(long ival)
373373
return NULL; \
374374
} \
375375
digit *p = v->long_value.ob_digit; \
376-
t = (ival); \
377-
while (t) { \
378-
*p++ = (digit)(t & PyLong_MASK); \
379-
t >>= PyLong_SHIFT; \
376+
while ((ival)) { \
377+
*p++ = (digit)((ival) & PyLong_MASK); \
378+
(ival) >>= PyLong_SHIFT; \
380379
} \
381380
return (PyObject *)v; \
382381
} while(0)

0 commit comments

Comments
 (0)