File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ STATIC mp_uint_t convert_obj_for_inline_asm(mp_obj_t obj) {
472472 return 1 ;
473473 } else if (MP_OBJ_IS_STR (obj )) {
474474 // pointer to the string (it's probably constant though!)
475- uint l ;
475+ mp_uint_t l ;
476476 return (mp_uint_t )mp_obj_str_get_data (obj , & l );
477477 } else {
478478 mp_obj_type_t * type = mp_obj_get_type (obj );
@@ -484,13 +484,13 @@ STATIC mp_uint_t convert_obj_for_inline_asm(mp_obj_t obj) {
484484#endif
485485 } else if (type == & mp_type_tuple ) {
486486 // pointer to start of tuple (could pass length, but then could use len(x) for that)
487- uint len ;
487+ mp_uint_t len ;
488488 mp_obj_t * items ;
489489 mp_obj_tuple_get (obj , & len , & items );
490490 return (mp_uint_t )items ;
491491 } else if (type == & mp_type_list ) {
492492 // pointer to start of list (could pass length, but then could use len(x) for that)
493- uint len ;
493+ mp_uint_t len ;
494494 mp_obj_t * items ;
495495 mp_obj_list_get (obj , & len , & items );
496496 return (mp_uint_t )items ;
You can’t perform that action at this time.
0 commit comments