diff options
author | Larry Hastings <larry@hastings.org> | 2012-08-08 21:52:22 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2012-08-08 21:52:22 (GMT) |
commit | 22701e86d0ab332abc4a985109b9638c44371e42 (patch) | |
tree | 274466377c4b9547c05c2a8034497552a33f2fcb /Modules | |
parent | 29650116685af6c78d85615cafbe2625e8c01af5 (diff) | |
download | cpython-22701e86d0ab332abc4a985109b9638c44371e42.zip cpython-22701e86d0ab332abc4a985109b9638c44371e42.tar.gz cpython-22701e86d0ab332abc4a985109b9638c44371e42.tar.bz2 |
Issue #15589: Ensure double-alignment for brute-force capi argument parser test
that occasionally uses doubles.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_testcapimodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index ca526bd..ce58651 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -1210,7 +1210,7 @@ parse_tuple_and_keywords(PyObject *self, PyObject *args) int result; PyObject *return_value = NULL; - char buffers[32][8]; + double buffers[8][4]; /* double ensures alignment where necessary */ if (!PyArg_ParseTuple(args, "OOyO:parse_tuple_and_keywords", &sub_args, &sub_kwargs, |