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:
Damien George
2014-05-25 22:27:57 +01:00
parent f88fc7bd23
commit 2617eebf2f
12 changed files with 25 additions and 31 deletions

View File

@@ -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);
}
}