diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 0833db155..ba620701a 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -1502,7 +1502,7 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client *client, struct wl_reso E_Pixmap *ep; /* try to create new pixmap */ - if (!(ep = e_pixmap_new(E_PIXMAP_TYPE_WL, res))) + if (!(ep = e_pixmap_new(E_PIXMAP_TYPE_WL, (uintptr_t)id))) { ERR("Could not create new pixmap"); wl_resource_destroy(res);