diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/marshal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/marshal.c b/Python/marshal.c index 74c5474..f644713 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -69,7 +69,7 @@ w_more(int c, WFILE *p) p->ptr = PyString_AS_STRING((PyStringObject *)p->str) + size; p->end = PyString_AS_STRING((PyStringObject *)p->str) + newsize; - *p->ptr++ = (char) c; + *p->ptr++ = Py_SAFE_DOWNCAST(c, int, char); } } |