discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=d54f51af5787b59e357a88f87ae973c15063b054

commit d54f51af5787b59e357a88f87ae973c15063b054
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed May 11 15:34:22 2016 -0400

    ensure int64_t is used in all cases for wl pixmap ids
---
 src/bin/e_comp_wl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index af6494a..b026c38 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1458,7 +1458,7 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client 
*client, struct wl_reso
 
    wl_client_get_credentials(client, &pid, NULL, NULL);
    if (pid == getpid()) //internal!
-     ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, (uintptr_t)id);
+     ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, (int64_t)id);
    if (ec)
      {
         if (e_object_is_del(E_OBJECT(ec))) return;
@@ -2167,7 +2167,7 @@ _e_comp_wl_screenshooter_cb_bind(struct wl_client 
*client, void *data, uint32_t
 static void
 _e_comp_wl_client_cb_new(void *data EINA_UNUSED, E_Client *ec)
 {
-   uint64_t win;
+   int64_t win;
 
    /* make sure this is a wayland client */
    if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return;

-- 


Reply via email to