Issue #9566: Fix compilater warnings on Windows 64-bit

This commit is contained in:
Victor Stinner 2013-06-05 01:18:13 +02:00
parent 56785eab33
commit 9550ef30e3
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ convertsimple(PyObject *arg, const char **p_format, va_list *p_va, int flags,
"size does not fit in an int"); \ "size does not fit in an int"); \
return converterr("", arg, msgbuf, bufsize); \ return converterr("", arg, msgbuf, bufsize); \
} \ } \
*q=s; \ *q = (int)s; \
} }
#define BUFFER_LEN ((flags & FLAG_SIZE_T) ? *q2:*q) #define BUFFER_LEN ((flags & FLAG_SIZE_T) ? *q2:*q)
#define RETURN_ERR_OCCURRED return msgbuf #define RETURN_ERR_OCCURRED return msgbuf