Switch indices in strings to size_t.
This commit is contained in:
@@ -154,7 +154,7 @@ int _eval_foreach_find_match(void *data, va_list args){
|
||||
return 0;
|
||||
}
|
||||
|
||||
liblex_result eval_word(char* string, int index, eval_config* config, match* mtch){
|
||||
liblex_result eval_word(char* string, size_t index, eval_config* config, match* mtch){
|
||||
liblex_result result = LIBLEX_SUCCESS;
|
||||
eval evl;
|
||||
evl.index = evl.begin = index;
|
||||
@@ -189,7 +189,7 @@ liblex_result eval_word(char* string, int index, eval_config* config, match* mtc
|
||||
|
||||
return result;
|
||||
}
|
||||
liblex_result eval_all(char* string, int index, eval_config* config, ll* matches){
|
||||
liblex_result eval_all(char* string, size_t index, eval_config* config, ll* matches){
|
||||
liblex_result result = LIBLEX_SUCCESS;
|
||||
match* new_match = NULL;
|
||||
int done = 0;
|
||||
|
||||
Reference in New Issue
Block a user