X11: Fix -Wc++11-narrowing error with clang

Fixes #17725.
This commit is contained in:
Rémi Verschelde 2018-03-24 12:16:32 +01:00
parent 5b23d571b1
commit 60835ce88e

View File

@ -1398,7 +1398,7 @@ static Property read_property(Display *p_display, Window p_window, Atom p_proper
} while (bytes_after != 0);
Property p = { ret, actual_format, nitems, actual_type };
Property p = { ret, actual_format, (int)nitems, actual_type };
return p;
}