summaryrefslogtreecommitdiffstats
path: root/Modules/zlibmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-01 14:48:12 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-07-01 14:48:12 (GMT)
commitf18f87111b8f34b7344529fbc4f7dfd2c94bee2f (patch)
tree644b177b442994757f6d318c3f85f61cf25c5321 /Modules/zlibmodule.c
parent65a3144e541462821233402561b91e4d6bfe7799 (diff)
downloadcpython-f18f87111b8f34b7344529fbc4f7dfd2c94bee2f.zip
cpython-f18f87111b8f34b7344529fbc4f7dfd2c94bee2f.tar.gz
cpython-f18f87111b8f34b7344529fbc4f7dfd2c94bee2f.tar.bz2
Issue #8677: make the zlib module "ssize_t clean" for parsing parameters
Diffstat (limited to 'Modules/zlibmodule.c')
-rw-r--r--Modules/zlibmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c
index 52744b9..0d2e188 100644
--- a/Modules/zlibmodule.c
+++ b/Modules/zlibmodule.c
@@ -3,6 +3,7 @@
/* Windows users: read Python's PCbuild\readme.txt */
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "structmember.h"