From f56bbf6e1afd1c61a25d9cb1095c24789f7ce3f5 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Thu, 10 Mar 2016 15:42:59 -0600 Subject: [PATCH] Fix internal window borders on 32-bit computers Our wayland window ids are 64 bit integers, we need to be careful about the data type on 32-bit machines where pointers are smaller than this. --- src/bin/e_pixmap.c | 2 +- src/bin/e_win.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c index 555d4e764..c429d8108 100644 --- a/src/bin/e_pixmap.c +++ b/src/bin/e_pixmap.c @@ -238,7 +238,7 @@ _e_pixmap_find(E_Pixmap_Type type, va_list *l) Ecore_X_Window xwin; #endif #ifdef HAVE_WAYLAND - intptr_t id; + int64_t id; #endif E_Pixmap *cp; diff --git a/src/bin/e_win.c b/src/bin/e_win.c index 51c21a434..018a88752 100644 --- a/src/bin/e_win.c +++ b/src/bin/e_win.c @@ -71,7 +71,7 @@ _e_elm_win_trap_show(void *data, Evas_Object *o) E_Client *ec; Ecore_Window win; #ifdef HAVE_WAYLAND - uintptr_t wl_win_id; + int64_t wl_win_id; #endif E_Pixmap_Type type = E_PIXMAP_TYPE_X;