Issue #23488: Fix a syntax error on big endian platforms.
Hopefully this will allow the PPC64 PowerLinux buildbot to finish a test run.
This commit is contained in:
parent
4baebfe867
commit
c15ea4c812
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue