raster pushed a commit to branch master.
commit 08105a01361d7344ec51b038dc94e8f6517cf48c
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Tue Jul 16 20:45:09 2013 +0900
fix clang sizeof complaint
---
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 3f5b7fa..b11fb7e 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -1739,7 +1739,7 @@ reorder_parts(void)
amount = ep->reorder.linked_prev +
ep->reorder.linked_next + 1;
linked = i - ep->reorder.linked_prev;
- parts = malloc(amount * sizeof(Edje_Part));
+ parts = malloc(amount * sizeof(Edje_Part *));
for (j = 0 ; j < amount ; j++)
{
parts[j] = pc->parts[linked];
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk