Issue #15589: Ensure double-alignment for brute-force capi argument parser test
that occasionally uses doubles.
This commit is contained in:
parent
2965011668
commit
22701e86d0
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue