summaryrefslogtreecommitdiff
path: root/Objects/bytes_methods.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-03 13:26:52 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-03 13:26:52 +0300
commit5cb6d11e2af9b164456584f63cf9961ce7f3bf89 (patch)
tree6eb1bedb676a8b20c3f784ffc864748451172b95 /Objects/bytes_methods.c
parente4807217e8bcde18faaf68cb608079fe4429e73e (diff)
downloadcpython-5cb6d11e2af9b164456584f63cf9961ce7f3bf89.tar.gz
Issue #26765: Fixed parsing Py_ssize_t arguments on 32-bit Windows.
Diffstat (limited to 'Objects/bytes_methods.c')
-rw-r--r--Objects/bytes_methods.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/bytes_methods.c b/Objects/bytes_methods.c
index fe666c631c..d0f784ecd4 100644
--- a/Objects/bytes_methods.c
+++ b/Objects/bytes_methods.c
@@ -1,3 +1,4 @@
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "bytes_methods.h"