We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11b97d7 commit c9845a0Copy full SHA for c9845a0
1 file changed
unix/main.c
@@ -455,7 +455,7 @@ int main(int argc, char **argv) {
455
#if defined(MICROPY_UNIX_COVERAGE)
456
{
457
MP_DECLARE_CONST_FUN_OBJ(extra_coverage_obj);
458
- mp_store_global(QSTR_FROM_STR_STATIC("extra_coverage"), (mp_obj_t)&extra_coverage_obj);
+ mp_store_global(QSTR_FROM_STR_STATIC("extra_coverage"), MP_OBJ_FROM_PTR(&extra_coverage_obj));
459
}
460
#endif
461
0 commit comments