Issue #15589: Ensure double-alignment for brute-force capi argument parser test

that occasionally uses doubles.
This commit is contained in:
Larry Hastings 2012-08-08 14:52:22 -07:00
parent 2965011668
commit 22701e86d0
1 changed files with 1 additions and 1 deletions

View File

@ -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,