src/viewer/search.c: cleanup some -Wcast-qual warning.

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Mohr 2016-02-20 15:34:32 +00:00 committed by Andrew Borodin
parent f9f08fbfd7
commit 311ef4c669

View File

@ -186,7 +186,7 @@ mcview_search_show_result (WView * view, size_t match_len)
mc_search_cbret_t
mcview_search_cmd_callback (const void *user_data, gsize char_offset, int *current_char)
{
WView *view = ((mcview_search_status_msg_t *) user_data)->view;
WView *view = ((const mcview_search_status_msg_t *) user_data)->view;
/* view_read_continue (view, &view->search_onechar_info); *//* AB:FIXME */
if (!view->text_nroff_mode)