diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_randommodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index 91fcc87..df149c5 100644 --- a/Modules/_randommodule.c +++ b/Modules/_randommodule.c @@ -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; |