---
 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

Reply via email to