Fix "Wayland: compilation warnings" (#649)

This commit is contained in:
ManoloFLTK 2023-01-11 23:53:34 +01:00
parent bd1e759771
commit ccfc479e43
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;