We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a8b160 commit bf8ae4dCopy full SHA for bf8ae4d
1 file changed
py/modstruct.c
@@ -38,7 +38,7 @@ STATIC mp_obj_t struct_calcsize(mp_obj_t fmt_in) {
38
const char *fmt = mp_obj_str_get_str(fmt_in);
39
char fmt_type = get_fmt_type(&fmt);
40
assert(fmt_type == '<'); (void)fmt_type;
41
- uint size;
+ machine_uint_t size;
42
for (size = 0; *fmt; fmt++) {
43
int sz = mp_binary_get_size(*fmt);
44
// TODO
0 commit comments