Change-Id: I9e3f776ba7faae910174ece41ab8620657bffd7a
Signed-off-by: Witold Goralski <w.goralski@samsung.com>
int h;
int *tx;
int *ty;
+ intptr_t ptx;
+ intptr_t pty;
evas_object_geometry_get(obj, &x, &y, &w, &h);
- tx = (int *)evas_object_data_get(obj, VC_ELM_FIXED_X);
- ty = (int *)evas_object_data_get(obj, VC_ELM_FIXED_Y);
+ ptx = (intptr_t)evas_object_data_get(obj, VC_ELM_FIXED_X);
+ pty = (intptr_t)evas_object_data_get(obj, VC_ELM_FIXED_Y);
+ tx = *((int *)(&ptx));
+ ty = *((int *)(&pty));
if (tx != 0 && ty != 0) {
x = (int)tx;
y = (int)ty;