mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
Change const byte* to const char* where sensible.
This removes need for some casts (at least, more than it adds need for new casts!).
This commit is contained in:
@@ -283,7 +283,7 @@ mp_obj_t mp_obj_new_exception_msg_varg(const mp_obj_type_t *exc_type, const char
|
||||
va_start(ap, fmt);
|
||||
vstr_vprintf(vstr, fmt, ap);
|
||||
va_end(ap);
|
||||
o->args->items[0] = mp_obj_new_str((byte*)vstr->buf, vstr->len, false);
|
||||
o->args->items[0] = mp_obj_new_str(vstr->buf, vstr->len, false);
|
||||
vstr_free(vstr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user