ami pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c6a0a695967e6e10fcb404a72e270473879d5a63

commit c6a0a695967e6e10fcb404a72e270473879d5a63
Author: Amitesh Singh <[email protected]>
Date:   Mon Jun 12 10:19:28 2017 +0900

    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));
    "
---
 src/bin/elementary/test_photocam.c | 5 +++--
 1 file 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");
 

-- 


Reply via email to