aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_photocam.c
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-06-12 10:19:28 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-06-12 10:21:12 +0900
commitc6a0a695967e6e10fcb404a72e270473879d5a63 (patch)
tree296bed56b50d64c56da3dc2b052b77a2213b0877 /src/bin/elementary/test_photocam.c
parentEfl text: shorten naming of methods (diff)
downloadefl-c6a0a695967e6e10fcb404a72e270473879d5a63.tar.gz
elm test:image.zoomable: fix the compilation warnings
this fixes below compile warnings. " warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘void *’ [-Wformat=] printf("Successfully set the edje file: %s, group: %s\n", file, eina_list_nth(grps, 0)); "
Diffstat (limited to 'src/bin/elementary/test_photocam.c')
-rw-r--r--src/bin/elementary/test_photocam.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/elementary/test_photocam.c b/src/bin/elementary/test_photocam.c
index ed549c2865..0fcb4d5248 100644
--- a/src/bin/elementary/test_photocam.c
+++ b/src/bin/elementary/test_photocam.c
@@ -141,8 +141,9 @@ my_bt_open(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
if (eina_list_count(grps) > 0)
{
- efl_file_set(ph, file, eina_list_nth(grps, 0));
- printf("Successfully set the edje file: %s, group: %s\n", file, eina_list_nth(grps, 0));
+ const char *grp = eina_list_nth(grps, 0);
+ efl_file_set(ph, file, grp);
+ printf("Successfully set the edje file: %s, group: %s\n", file, grp);
}
else printf("Failed to set edje file\n");