Skip to content

Commit d89855f

Browse files
committed
ext/mstring: make rare_codepoint_bitvec const
1 parent e80a4be commit d89855f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/mbstring/gen_rare_cp_bitvec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* as less likely to be the correct one.
4141
*/
4242
43-
static uint32_t rare_codepoint_bitvec[] = {
43+
static const uint32_t rare_codepoint_bitvec[] = {
4444
HEADER;
4545

4646
for ($i = 0; $i < 0xFFFF / 32; $i++) {

ext/mbstring/rare_cp_bitvec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* as less likely to be the correct one.
1010
*/
1111

12-
static uint32_t rare_codepoint_bitvec[] = {
12+
static const uint32_t rare_codepoint_bitvec[] = {
1313
0xffffd9ff, 0x00000000, 0x00000000, 0x80000000, 0xffffffff, 0x00002001, 0x00000000, 0x00000000,
1414
0x70ff0f0f, 0xfffcffff, 0x70fcfe61, 0x81fc3fcc, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
1515
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,

0 commit comments

Comments
 (0)