From: Victor Stinner Date: Tue, 4 Jun 2013 23:18:13 +0000 (+0200) Subject: Issue #9566: Fix compilater warnings on Windows 64-bit X-Git-Tag: v3.4.0a1~567 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9550ef30e3324c0032b09e81088457c45244901d;p=python Issue #9566: Fix compilater warnings on Windows 64-bit --- diff --git a/Python/getargs.c b/Python/getargs.c index bdf1a0c193..2c2628f9a1 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