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.
This commit is contained in:
Derek Foreman 2016-03-10 15:42:59 -06:00 committed by Mike Blumenkrantz
parent 67153a06a2
commit f56bbf6e1a
2 changed files with 2 additions and 2 deletions

View File

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

View File

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