raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=4b18b472baffea756e01f249986c9249982c7bd8
commit 4b18b472baffea756e01f249986c9249982c7bd8 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Wed Dec 28 19:01:38 2016 +0900 edje_cc - fix warning about freeing a const char ptr yes - the type is const char * for edje runtime (the library) but in edje_cc we strdup these strings and yes - assign them to a const char * thus the warning and the need to cast. it's specific co edje_cc only and so this is correct. --- src/bin/edje/edje_cc_out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c index 3f4a79b..df9e538 100644 --- a/src/bin/edje/edje_cc_out.c +++ b/src/bin/edje/edje_cc_out.c @@ -1419,7 +1419,7 @@ data_write_images(Eet_File *ef, int *image_num) char *tmp = malloc(size); snprintf(tmp, size, "%s.png", img->entry); INF("Vector '%s' used as image, convert to bitmap '%s'", img->entry, tmp); - free(img->entry); + free((void *)img->entry); img->entry = tmp; } } --
