Mercurial > cpython-lru_cache-weakref
diff Python/getargs.c @ 84035:aeebbae8c74c
Issue #9566: Fix compilater warnings on Windows 64-bit
| author | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| date | Wed, 05 Jun 2013 01:18:13 +0200 |
| parents | 0648e7fe7a72 |
| children | 63bc2fe28a6e |
line wrap: on
line diff
--- a/Python/getargs.c Wed Jun 05 00:46:29 2013 +0200 +++ b/Python/getargs.c Wed Jun 05 01:18:13 2013 +0200 @@ -570,7 +570,7 @@ "size does not fit in an int"); \ return converterr("", arg, msgbuf, bufsize); \ } \ - *q=s; \ + *q = (int)s; \ } #define BUFFER_LEN ((flags & FLAG_SIZE_T) ? *q2:*q) #define RETURN_ERR_OCCURRED return msgbuf
