summaryrefslogtreecommitdiffstatshomepage
path: root/py/parse.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-25 22:27:57 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-25 22:27:57 +0100
commit2617eebf2ff77e58f415162300747eaf1a5ab5d7 (patch)
tree7065586f59aa181b70b4721363ff7c7677f8e772 /py/parse.c
parentf88fc7bd23c7bab257a01857c6f4683ce491f78c (diff)
downloadmicropython-2617eebf2ff77e58f415162300747eaf1a5ab5d7.tar.gz
micropython-2617eebf2ff77e58f415162300747eaf1a5ab5d7.zip
Change const byte* to const char* where sensible.
This removes need for some casts (at least, more than it adds need for new casts!).
Diffstat (limited to 'py/parse.c')
-rw-r--r--py/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/parse.c b/py/parse.c
index b255ebd35c..93bced843b 100644
--- a/py/parse.c
+++ b/py/parse.c
@@ -349,7 +349,7 @@ STATIC void push_result_token(parser_t *parser, const mp_lexer_t *lex) {
qst = qstr_from_strn(tok->str, tok->len);
} else {
// check if this string is already interned
- qst = qstr_find_strn((const byte*)tok->str, tok->len);
+ qst = qstr_find_strn(tok->str, tok->len);
}
if (qst != MP_QSTR_NULL) {
// qstr exists, make a leaf node