summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/mpz.c2
-rw-r--r--py/objint.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/py/mpz.c b/py/mpz.c
index 106e66aaf9..0fe4c52d04 100644
--- a/py/mpz.c
+++ b/py/mpz.c
@@ -482,7 +482,7 @@ STATIC void mpn_div(mpz_dig_t *num_dig, mp_uint_t *num_len, mpz_dig_t *den_dig,
#define MIN_ALLOC (2)
-static const uint log_base2_floor[] = {
+STATIC const uint8_t log_base2_floor[] = {
0,
0, 1, 1, 2,
2, 2, 2, 3,
diff --git a/py/objint.c b/py/objint.c
index b0c904bca9..16e868a37b 100644
--- a/py/objint.c
+++ b/py/objint.c
@@ -105,7 +105,7 @@ typedef mp_longint_impl_t fmt_int_t;
typedef mp_int_t fmt_int_t;
#endif
-STATIC const uint log_base2_floor[] = {
+STATIC const uint8_t log_base2_floor[] = {
0,
0, 1, 1, 2,
2, 2, 2, 3,