Issue #25923: Added the const qualifier to static constant arrays.

This commit is contained in:
Serhiy Storchaka 2015-12-25 19:53:18 +02:00
parent ea8c43152f
commit 2d06e84455
44 changed files with 139 additions and 134 deletions

View file

@ -99,7 +99,7 @@ static PY_UINT32_T
genrand_int32(RandomObject *self)
{
PY_UINT32_T y;
static PY_UINT32_T mag01[2]={0x0U, MATRIX_A};
static const PY_UINT32_T mag01[2] = {0x0U, MATRIX_A};
/* mag01[x] = x * MATRIX_A for x=0,1 */
PY_UINT32_T *mt;