diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2019-09-25 06:58:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-25 06:58:32 (GMT) |
commit | 57dc7d5ae8ebfb6da1ea2b25e61260ecb9c79faf (patch) | |
tree | 9bfb35ca277c24fe15ce54f319eaa5e9bf856e2e /Modules | |
parent | f163aeaa8c15b806b622c9cb10bc1d2a6e034e24 (diff) | |
download | cpython-57dc7d5ae8ebfb6da1ea2b25e61260ecb9c79faf.zip cpython-57dc7d5ae8ebfb6da1ea2b25e61260ecb9c79faf.tar.gz cpython-57dc7d5ae8ebfb6da1ea2b25e61260ecb9c79faf.tar.bz2 |
bpo-22273: Disabled tests while investigating buildbot failures on ARM7L/PPC64. (GH-16377)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/stgdict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/stgdict.c b/Modules/_ctypes/stgdict.c index 62dcece..9c42a4f 100644 --- a/Modules/_ctypes/stgdict.c +++ b/Modules/_ctypes/stgdict.c @@ -652,7 +652,7 @@ PyCStructUnionType_update_stgdict(PyObject *type, PyObject *fields, int isStruct #define MAX_ELEMENTS 16 - if (arrays_seen && (size <= 16)) { + if (arrays_seen && (size <= MAX_ELEMENTS)) { /* * See bpo-22273. Arrays are normally treated as pointers, which is * fine when an array name is being passed as parameter, but not when |