Commit 570ea896 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

add missing cast to char

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1775 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -207,6 +207,7 @@ CVS code -
- Move the savetty() call down from just after initscr() to just
after the terminal is properly set up, so that we can restore
it easily after a resize. (DLR)
- Add missing cast to char when calling do_char(). (DLR)
- nano.h:
- Since REGEXP_COMPILED is only used in search.c, convert it
from a flag to a static int there. (DLR)
......
......@@ -3624,7 +3624,7 @@ int main(int argc, char *argv[])
if (ISSET(VIEW_MODE))
print_view_warning();
else
do_char(kbinput);
do_char((char)kbinput);
}
reset_cursor();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment