diff options
author | Jozef Grajciar <jozef.grajciar@gmail.com> | 2021-03-01 11:18:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 11:18:33 (GMT) |
commit | c994ffe69553cbb34f1cea6a4494d6e7657f41b0 (patch) | |
tree | 66506909999bd0a809879b9f6e940195216c7564 /Objects/structseq.c | |
parent | 0242494a156970186cbc4121ccf03aefbddea716 (diff) | |
download | cpython-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.c | 2 |
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); |