eliminate signed/unsigned comparison warnings

This partially addresses #3430.
This commit is contained in:
Kurtis Rader
2016-10-09 14:36:08 -07:00
parent 213ef3ee56
commit 851e449347
16 changed files with 70 additions and 83 deletions

View File

@@ -2743,7 +2743,7 @@ const wchar_t *reader_readline(int nchars) {
if (data->search_mode) {
data->search_mode = NO_SEARCH;
if (data->token_history_pos == -1) {
if (data->token_history_pos == (size_t)-1) {
// history_reset();
data->history_search.go_to_end();
reader_set_buffer(data->search_buff, data->search_buff.size());