diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 23:18:13 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 23:18:13 (GMT) |
commit | 9550ef30e3324c0032b09e81088457c45244901d (patch) | |
tree | 54cacb2a1991026bfb98c5ff4552994005448b64 /Python/getargs.c | |
parent | 56785eab33596af189c10ee7ebdc36fc2cd1e983 (diff) | |
download | cpython-9550ef30e3324c0032b09e81088457c45244901d.zip cpython-9550ef30e3324c0032b09e81088457c45244901d.tar.gz cpython-9550ef30e3324c0032b09e81088457c45244901d.tar.bz2 |
Issue #9566: Fix compilater warnings on Windows 64-bit
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index bdf1a0c..2c2628f 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -570,7 +570,7 @@ convertsimple(PyObject *arg, const char **p_format, va_list *p_va, int flags, "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 |