[Python-checkins] cpython: Issue #9566: Fix compilater warnings on Windows 64-bit
victor.stinner
python-checkins at python.org
Wed Jun 5 01:18:34 CEST 2013
http://hg.python.org/cpython/rev/aeebbae8c74c
changeset: 84035:aeebbae8c74c
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Jun 05 01:18:13 2013 +0200
summary:
Issue #9566: Fix compilater warnings on Windows 64-bit
files:
Python/getargs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/getargs.c b/Python/getargs.c
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list