summaryrefslogtreecommitdiffstats
path: root/Objects/bytes_methods.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-03 10:26:52 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-03 10:26:52 (GMT)
commitab8bcb34dc0b66ce2bc905f78a664333ee8f65f9 (patch)
tree5bc6871c6370cfff0fc1e2474ac814271a21b87e /Objects/bytes_methods.c
parent355048970b2aef708c5b9f8e5cfcbf56596d94b1 (diff)
downloadcpython-ab8bcb34dc0b66ce2bc905f78a664333ee8f65f9.zip
cpython-ab8bcb34dc0b66ce2bc905f78a664333ee8f65f9.tar.gz
cpython-ab8bcb34dc0b66ce2bc905f78a664333ee8f65f9.tar.bz2
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 fe666c6..d0f784e 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"