summaryrefslogtreecommitdiff
path: root/Python/marshal.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index 8d441a4f08..04a8dc5989 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -813,7 +813,7 @@ r_PyLong(RFILE *p)
if (ob == NULL)
return NULL;
- Py_SIZE(ob) = n > 0 ? size : -size;
+ Py_SET_SIZE(ob, n > 0 ? size : -size);
for (i = 0; i < size-1; i++) {
d = 0;