Fix bug causing comparison between incompatible enums.
This commit is contained in:
parent
17ab9beb71
commit
f54e6fb1ea
|
@ -206,7 +206,7 @@ liblex_result _pattern_build_inverted_or(pattern_chain** into, int* ids, int pat
|
|||
if(string[*index]) (*index)++;
|
||||
}
|
||||
|
||||
while(string[*index] && string[*index] != ']' && result == LIBDS_SUCCESS) {
|
||||
while(string[*index] && string[*index] != ']' && result == LIBLEX_SUCCESS) {
|
||||
char from = '\0';
|
||||
char to = '\0';
|
||||
result = _pattern_read_value(&from, string, index);
|
||||
|
|
Loading…
Reference in New Issue
Block a user