diff options
author | Shlomi Fish <shlomif@shlomifish.org> | 2017-02-21 11:59:19 +0200 |
---|---|---|
committer | Shlomi Fish <shlomif@shlomifish.org> | 2017-02-21 11:59:19 +0200 |
commit | 0a2c387d5c375aa9dd9e828f100ab55deb8dac72 (patch) | |
tree | d2164f7f68e6fe4f18ef97b32ea693c35d10aa57 /platform/x11 | |
parent | f6950956bdab064cc1e027b93a0ddd0d94dda882 (diff) |
Fix some compilation warnings.
Redone the commit based on the input in
https://github.com/godotengine/godot/pull/7851 . Not all warnings were
fixed but it's a start.
Diffstat (limited to 'platform/x11')
-rw-r--r-- | platform/x11/os_x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 27df280927..a4ed08f330 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -1241,7 +1241,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; } |