summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-01-15 17:21:47 +0000
committerTom Hacohen <tom@stosb.com>2013-01-15 17:21:47 +0000
commit9836f5dc367f2e751756984445657fb9f0afc364 (patch)
tree901e710e586b93b5135b36c77017b6d256b4d59e
parentea35317988e2d95fb390514bce7ec9d661d44ee4 (diff)
Elm conform: Fixed cast warnings.
SVN revision: 82830
-rw-r--r--src/lib/elm_conform.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c
index fd3b2dd4f..4c1a13bbb 100644
--- a/src/lib/elm_conform.c
+++ b/src/lib/elm_conform.c
@@ -274,7 +274,7 @@ _port_indicator_connect_cb(void *data)
274 sd->port_indi_timer = NULL; 274 sd->port_indi_timer = NULL;
275 return ECORE_CALLBACK_CANCEL; 275 return ECORE_CALLBACK_CANCEL;
276 } 276 }
277 rot = (int) evas_object_data_get(sd->portrait_indicator, CONFORMANT_KEY); 277 rot = (intptr_t) evas_object_data_get(sd->portrait_indicator, CONFORMANT_KEY);
278 indicator_serv_name = elm_config_indicator_service_get(rot); 278 indicator_serv_name = elm_config_indicator_service_get(rot);
279 if (!indicator_serv_name) 279 if (!indicator_serv_name)
280 { 280 {
@@ -305,7 +305,7 @@ _land_indicator_connect_cb(void *data)
305 sd->land_indi_timer = NULL; 305 sd->land_indi_timer = NULL;
306 return ECORE_CALLBACK_CANCEL; 306 return ECORE_CALLBACK_CANCEL;
307 } 307 }
308 rot = (int) evas_object_data_get(sd->landscape_indicator, CONFORMANT_KEY); 308 rot = (intptr_t) evas_object_data_get(sd->landscape_indicator, CONFORMANT_KEY);
309 indicator_serv_name = elm_config_indicator_service_get(rot); 309 indicator_serv_name = elm_config_indicator_service_get(rot);
310 if (!indicator_serv_name) 310 if (!indicator_serv_name)
311 { 311 {
@@ -532,7 +532,7 @@ _on_rotation_changed(void *data,
532 if (!sd->landscape_indicator) return; 532 if (!sd->landscape_indicator) return;
533 533
534 evas_object_show(sd->landscape_indicator); 534 evas_object_show(sd->landscape_indicator);
535 evas_object_data_set(sd->landscape_indicator, CONFORMANT_KEY, (void *) rot); 535 evas_object_data_set(sd->landscape_indicator, CONFORMANT_KEY, (void *) (intptr_t) rot);
536 elm_layout_content_set(conformant, "elm.swallow.indicator", sd->landscape_indicator); 536 elm_layout_content_set(conformant, "elm.swallow.indicator", sd->landscape_indicator);
537 } 537 }
538 else 538 else
@@ -543,7 +543,7 @@ _on_rotation_changed(void *data,
543 if (!sd->portrait_indicator) return; 543 if (!sd->portrait_indicator) return;
544 544
545 evas_object_show(sd->portrait_indicator); 545 evas_object_show(sd->portrait_indicator);
546 evas_object_data_set(sd->portrait_indicator, CONFORMANT_KEY, (void *) rot); 546 evas_object_data_set(sd->portrait_indicator, CONFORMANT_KEY, (void *) (intptr_t) rot);
547 elm_layout_content_set(conformant, "elm.swallow.indicator", sd->portrait_indicator); 547 elm_layout_content_set(conformant, "elm.swallow.indicator", sd->portrait_indicator);
548 } 548 }
549} 549}