diff options
author | Chris Michael <cpmichael@osg.samsung.com> | 2016-04-04 08:41:27 -0400 |
---|---|---|
committer | Chris Michael <cpmichael@osg.samsung.com> | 2016-04-04 08:41:27 -0400 |
commit | 0482c3813147f5b620a861f544582a90a3137b66 (patch) | |
tree | b0c5e8ecd944d6c0639ca518e71e33f903e86609 | |
parent | cf2804a220c492674b219c2db65b18a502083aff (diff) | |
download | efl-0482c3813147f5b620a861f544582a90a3137b66.tar.gz |
ecore-xcb: Fix wrong initialization
As Ecore_X_Window is an 'int' type, we should not be initializing it
to NULL. This causes compiler warnings about initialization makes
integer from pointer without a cast.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
-rw-r--r-- | src/lib/ecore_x/xcb/ecore_xcb_window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_x/xcb/ecore_xcb_window.c b/src/lib/ecore_x/xcb/ecore_xcb_window.c index e877fdb8dc..4b4f308a03 100644 --- a/src/lib/ecore_x/xcb/ecore_xcb_window.c +++ b/src/lib/ecore_x/xcb/ecore_xcb_window.c @@ -337,7 +337,7 @@ ecore_x_window_override_argb_new(Ecore_X_Window parent, int x, int y, int w, int EAPI Ecore_X_Window ecore_x_window_permanent_new(Ecore_X_Window parent, Ecore_X_Atom unique_atom) { - Ecore_X_Window win, win2, realwin = NULL; + Ecore_X_Window win, win2, realwin = 0; uint32_t mask, mask_list[9]; xcb_get_property_reply_t *reply; xcb_get_property_cookie_t cookie; |