Fix "Wayland: compilation warnings" (#649)
This commit is contained in:
parent
bd1e759771
commit
ccfc479e43
@ -652,7 +652,7 @@ const int dead_key_count = sizeof(dead_keys)/sizeof(struct dead_key_struct);
|
||||
|
||||
|
||||
static int search_int_vector(Fl_Int_Vector& v, int val) {
|
||||
for (int pos = 0; pos < v.size(); pos++) {
|
||||
for (unsigned pos = 0; pos < v.size(); pos++) {
|
||||
if (v[pos] == val) return pos;
|
||||
}
|
||||
return -1;
|
||||
|
@ -1136,7 +1136,7 @@ static bool process_menu_or_tooltip(struct wld_window *new_window) {
|
||||
void Fl_Wayland_Window_Driver::makeWindow()
|
||||
{
|
||||
struct wld_window *new_window;
|
||||
bool is_floatingtitle;
|
||||
bool is_floatingtitle = false;
|
||||
Fl_Wayland_Screen_Driver::output *output;
|
||||
wait_for_expose_value = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user