Skip to content

Commit c9845a0

Browse files
committed
unix: Allow to build coverage build with OBJ_REPR_D.
1 parent 11b97d7 commit c9845a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

unix/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ int main(int argc, char **argv) {
455455
#if defined(MICROPY_UNIX_COVERAGE)
456456
{
457457
MP_DECLARE_CONST_FUN_OBJ(extra_coverage_obj);
458-
mp_store_global(QSTR_FROM_STR_STATIC("extra_coverage"), (mp_obj_t)&extra_coverage_obj);
458+
mp_store_global(QSTR_FROM_STR_STATIC("extra_coverage"), MP_OBJ_FROM_PTR(&extra_coverage_obj));
459459
}
460460
#endif
461461

0 commit comments

Comments
 (0)