From 2617eebf2ff77e58f415162300747eaf1a5ab5d7 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 25 May 2014 22:27:57 +0100 Subject: Change const byte* to const char* where sensible. This removes need for some casts (at least, more than it adds need for new casts!). --- py/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/parse.c') diff --git a/py/parse.c b/py/parse.c index b255ebd35..93bced843 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 -- cgit v1.2.3