py: Save about 200 bytes of ROM by using smaller type for static table.

This commit is contained in:
Damien George 2014-08-30 00:38:16 +01:00
parent ecc88e949c
commit 1c70cbf151
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,