Fix log_{debug,info} formats which expect size_t but receive int.

This commit is contained in:
Iestyn Pryce
2017-05-17 22:40:53 +01:00
parent 2a0fb69ae5
commit 87a76bf967
2 changed files with 2 additions and 2 deletions

View File

@@ -356,7 +356,7 @@ bool trie_search_tokens_from_index(trie_t *self, char *str, token_array *tokens,
// Note: i gets incremented with the next iteration of the for loop
i = phrase_start;
log_debug("last_state == SEARCH_STATE_PARTIAL_MATCH, i = %zu\n", i);
log_debug("last_state == SEARCH_STATE_PARTIAL_MATCH, i = %d\n", i);
last_match_index = -1;
phrase_start = phrase_len = 0;
node_id = last_node_id = start_node_id;