Skip to content

Commit

Permalink
changed W_SIZE return value
Browse files Browse the repository at this point in the history
  • Loading branch information
chgnrdv committed May 8, 2024
1 parent cc0c806 commit 94682e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/marshal.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ w_long(long x, WFILE *p)
if ((n) > SIZE32_MAX) { \
(p)->depth--; \
(p)->error = WFERR_UNMARSHALLABLE; \
return 0; \
return -1; \
} \
w_long((long)(n), p); \
} while(0)
Expand Down

0 comments on commit 94682e7

Please sign in to comment.