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));
"
This commit is contained in:
Amitesh Singh 2017-06-12 10:19:28 +09:00
parent 616a60f041
commit c6a0a69596
1 changed files with 3 additions and 2 deletions

View File

@ -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");