summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-11 15:34:22 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-11 15:40:10 -0400
commit2d85b8f111d2ed29402fcbc2f277710ce2e451f4 (patch)
tree5d69c32c93a7fb2016cf6defbbe7f495d196f10d
parent4a47f74b3ae3d26e867bf2ef0879768a9a938716 (diff)
ensure int64_t is used in all cases for wl pixmap ids
-rw-r--r--src/bin/e_comp_wl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 70e4e4a79..d278efa02 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1582,7 +1582,7 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client *client, struct wl_reso
1582 1582
1583 wl_client_get_credentials(client, &pid, NULL, NULL); 1583 wl_client_get_credentials(client, &pid, NULL, NULL);
1584 if (pid == getpid()) //internal! 1584 if (pid == getpid()) //internal!
1585 ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, (uintptr_t)id); 1585 ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, (int64_t)id);
1586 if (ec) 1586 if (ec)
1587 { 1587 {
1588 if (e_object_is_del(E_OBJECT(ec))) return; 1588 if (e_object_is_del(E_OBJECT(ec))) return;
@@ -2180,7 +2180,7 @@ _e_comp_wl_subcompositor_cb_bind(struct wl_client *client, void *data EINA_UNUSE
2180static void 2180static void
2181_e_comp_wl_client_cb_new(void *data EINA_UNUSED, E_Client *ec) 2181_e_comp_wl_client_cb_new(void *data EINA_UNUSED, E_Client *ec)
2182{ 2182{
2183 uint64_t win; 2183 int64_t win;
2184 2184
2185 /* make sure this is a wayland client */ 2185 /* make sure this is a wayland client */
2186 if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return; 2186 if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return;