Commit c15ea4c8 authored by Zachary Ware's avatar Zachary Ware

Issue #23488: Fix a syntax error on big endian platforms.

Hopefully this will allow the PPC64 PowerLinux buildbot to finish a test run.
parent 4baebfe8
......@@ -266,7 +266,7 @@ random_seed(RandomObject *self, PyObject *args)
{
size_t i, j;
/* Reverse an array. */
for (i = 0; j = keyused - 1; i < j; i++, j--) {
for (i = 0, j = keyused - 1; i < j; i++, j--) {
PY_UINT32_T tmp = key[i];
key[i] = key[j];
key[j] = tmp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment