Skip to content
Snippets Groups Projects
Commit bababce6 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py/runtime_utils: Fix nanbox build.

parent 6d103b65
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ void mp_call_function_1_protected(mp_obj_t fun, mp_obj_t arg) { ...@@ -35,7 +35,7 @@ void mp_call_function_1_protected(mp_obj_t fun, mp_obj_t arg) {
mp_call_function_1(fun, arg); mp_call_function_1(fun, arg);
nlr_pop(); nlr_pop();
} else { } else {
mp_obj_print_exception(&mp_plat_print, (mp_obj_t)nlr.ret_val); mp_obj_print_exception(&mp_plat_print, MP_OBJ_FROM_PTR(nlr.ret_val));
} }
} }
...@@ -45,6 +45,6 @@ void mp_call_function_2_protected(mp_obj_t fun, mp_obj_t arg1, mp_obj_t arg2) { ...@@ -45,6 +45,6 @@ void mp_call_function_2_protected(mp_obj_t fun, mp_obj_t arg1, mp_obj_t arg2) {
mp_call_function_2(fun, arg1, arg2); mp_call_function_2(fun, arg1, arg2);
nlr_pop(); nlr_pop();
} else { } else {
mp_obj_print_exception(&mp_plat_print, (mp_obj_t)nlr.ret_val); mp_obj_print_exception(&mp_plat_print, MP_OBJ_FROM_PTR(nlr.ret_val));
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment