Add cast to libab_result in ll_foreach call.
This commit is contained in:
parent
d79d001013
commit
3254f5741f
|
@ -99,7 +99,7 @@ libab_result lexer_lex(lexer* lexer, const char* string, ll* lex_into) {
|
|||
eval_all(string, 0, &lexer->config, &raw_matches));
|
||||
|
||||
if(result == LIBAB_SUCCESS) {
|
||||
result = ll_foreach(&raw_matches, NULL, compare_always,
|
||||
result = (libab_result) ll_foreach(&raw_matches, NULL, compare_always,
|
||||
_lexer_foreach_convert_match, &state);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user