Fix compiler warning.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11426 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2016-03-26 01:34:10 +00:00
parent 259df57b81
commit 9de6339d81
1 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ void clear_cb(Fl_Widget *w, void *d)
void prev_cb(Fl_Widget *w, void *d)
{
current_char--;
char b[2] = { current_char, 0 };
char b[2] = { (char)current_char, 0 };
w->parent()->child(0)->copy_label(b);
w->parent()->child(0)->redraw();
}
@ -184,7 +184,7 @@ void prev_cb(Fl_Widget *w, void *d)
void next_cb(Fl_Widget *w, void *d)
{
current_char++;
char b[2] = { current_char, 0 };
char b[2] = { (char)current_char, 0 };
w->parent()->child(0)->copy_label(b);
w->parent()->child(0)->redraw();
}