py/binary: Change mp_uint_t to size_t for index, size, align args.

Reduces code size for nan-box builds, otherwise changes nothing.
This commit is contained in:
Damien George
2019-09-02 13:09:44 +10:00
parent 24c3e9b283
commit c348e79187
3 changed files with 17 additions and 17 deletions

View File

@@ -97,7 +97,7 @@ STATIC size_t calc_size_items(const char *fmt, size_t *total_sz) {
size += cnt;
} else {
total_cnt += cnt;
mp_uint_t align;
size_t align;
size_t sz = mp_binary_get_size(fmt_type, *fmt, &align);
while (cnt--) {
// Apply alignment