mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #25923: Added the const qualifier to static constant arrays.
This commit is contained in:
parent
ea8c43152f
commit
2d06e84455
44 changed files with 139 additions and 134 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue