mirror of https://github.com/fltk/fltk
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:
parent
259df57b81
commit
9de6339d81
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue