---
curs_lib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/curs_lib.c b/curs_lib.c
index 5cc739ec..cfec5eb5 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -229,7 +229,7 @@ static int _get_field(const char *field, BUFFER *buffer,
int complete,
#endif
mutt_window_clearline(MuttMessageWindow, 0);
SETCOLOR(MT_COLOR_PROMPT);
- addstr((char *)field); /* cast to get around bad prototypes */
+ addstr(field);
NORMAL_COLOR;
mutt_refresh();
mutt_window_getyx(MuttMessageWindow, NULL, &x);
@@ -1073,7 +1073,7 @@ static int _enter_fname(const char *prompt, BUFFER
*fname, int flags,
event_t ch;
SETCOLOR(MT_COLOR_PROMPT);
- mutt_window_mvaddstr(MuttMessageWindow, 0, 0, (char *) prompt);
+ mutt_window_mvaddstr(MuttMessageWindow, 0, 0, prompt);
addstr(_(" ('?' for list): "));
NORMAL_COLOR;
if (mutt_buffer_len(fname))
--
2.51.0- Minor cleanup after adding more warnings to... Rene Kita
- [PATCH 8/8] Remove unused macro Rene Kita
- [PATCH 7/8] Fix redundant declarations... Rene Kita
- [PATCH 1/8] Remove dead code Rene Kita
- [PATCH 5/8] Remove redundant declarati... Rene Kita
- [PATCH 6/8] Fix redundant declaration ... Rene Kita
- [PATCH 4/8] Drop const where we cannot... Rene Kita
- [PATCH 2/8] Fix const casts and use co... Rene Kita
- [PATCH 3/8] Drop unnecessary casts Rene Kita
- Re: Minor cleanup after adding more wa... Kevin J. McCarthy
- [PATCH 9/8] Add more const correctness Rene Kita
- Re: [PATCH 9/8] Add more const cor... Kevin J. McCarthy
- Re: [PATCH 9/8] Add more const... Kevin J. McCarthy
- Re: Minor cleanup after adding more wa... Rene Kita
- Re: Minor cleanup after adding mor... Kevin J. McCarthy
- Re: Minor cleanup after adding mor... Kevin J. McCarthy
- Re: Minor cleanup after adding mor... Alejandro Colomar via Mutt-dev
