summaryrefslogtreecommitdiffstats
path: root/Objects/structseq.c
diff options
context:
space:
mode:
authorJozef Grajciar <jozef.grajciar@gmail.com>2021-03-01 11:18:33 (GMT)
committerGitHub <noreply@github.com>2021-03-01 11:18:33 (GMT)
commitc994ffe69553cbb34f1cea6a4494d6e7657f41b0 (patch)
tree66506909999bd0a809879b9f6e940195216c7564 /Objects/structseq.c
parent0242494a156970186cbc4121ccf03aefbddea716 (diff)
downloadcpython-c994ffe69553cbb34f1cea6a4494d6e7657f41b0.zip
cpython-c994ffe69553cbb34f1cea6a4494d6e7657f41b0.tar.gz
cpython-c994ffe69553cbb34f1cea6a4494d6e7657f41b0.tar.bz2
bpo-11717: fix ssize_t redefinition error when targeting 32bit Windows app (GH-24479)
Diffstat (limited to 'Objects/structseq.c')
-rw-r--r--Objects/structseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/structseq.c b/Objects/structseq.c
index 5d71fcf..4222afa 100644
--- a/Objects/structseq.c
+++ b/Objects/structseq.c
@@ -24,7 +24,7 @@ _Py_IDENTIFIER(n_sequence_fields);
_Py_IDENTIFIER(n_fields);
_Py_IDENTIFIER(n_unnamed_fields);
-static ssize_t
+static Py_ssize_t
get_type_attr_as_size(PyTypeObject *tp, _Py_Identifier *id)
{
PyObject *name = _PyUnicode_FromId(id);