2
0
Эх сурвалжийг харах

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

Fixes #17725.
Rémi Verschelde 7 жил өмнө
parent
commit
60835ce88e

+ 1 - 1
platform/x11/os_x11.cpp

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