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:
Zachary Ware 2015-05-17 23:46:22 -05:00
parent 4baebfe867
commit c15ea4c812
1 changed files with 1 additions and 1 deletions

View File

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