summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2017-02-21 11:59:19 +0200
committerShlomi Fish <shlomif@shlomifish.org>2017-02-21 11:59:19 +0200
commit0a2c387d5c375aa9dd9e828f100ab55deb8dac72 (patch)
treed2164f7f68e6fe4f18ef97b32ea693c35d10aa57 /platform/x11
parentf6950956bdab064cc1e027b93a0ddd0d94dda882 (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.cpp2
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;
}