diff --git a/src/proto.h b/src/proto.h index 330685f1aedf9325451f3ef4512695cd9472e32e..bd6fd72abba10f5739af697cd98ec8ea432f561b 100644 --- a/src/proto.h +++ b/src/proto.h @@ -644,7 +644,7 @@ void do_cursorpos_void(void); int help_line_len(const char *ptr); void do_help(void); #endif -void do_replace_highlight(int highlight_flag, const char *word); +void do_replace_highlight(bool highlight_flag, const char *word); #ifdef DEBUG void dump_buffer(const filestruct *inptr); void dump_buffer_reverse(void); diff --git a/src/winio.c b/src/winio.c index 1378d3a53d0382eb1a5657604b723e0af1add167..79e2f16e0b96f422c843e5572b35832e10d82b35 100644 --- a/src/winio.c +++ b/src/winio.c @@ -3976,7 +3976,7 @@ void do_help(void) /* Highlight the current word being replaced or spell checked. We * expect word to have tabs and control characters expanded. */ -void do_replace_highlight(int highlight_flag, const char *word) +void do_replace_highlight(bool highlight_flag, const char *word) { size_t y = xplustabs(); size_t word_len = strlen(word);