raster pushed a commit to branch master.
commit 63802e5b84405f94ff8ce00bf997159af0c45cfd
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Tue Mar 5 23:00:38 2013 +0900
since Eo.h is inclued in c++ stuff... how about we cast from the void *
return from calloc to Eo_Dbg_Info * since c++ is really unhappy with
this stuff without a cast (silly c++).
---
src/lib/eo/Eo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index c596a27..867d26a 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -159,7 +159,7 @@ typedef struct _Eo_Dbg_Info Eo_Dbg_Info;
static inline Eo_Dbg_Info *
EO_DBG_INFO_LIST_APPEND(Eo_Dbg_Info *list, const char *name)
{
- Eo_Dbg_Info *tmp = calloc(1, sizeof(*tmp));
+ Eo_Dbg_Info *tmp = (Eo_Dbg_Info *)calloc(1, sizeof(*tmp));
tmp->name = eina_stringshare_add(name);
eina_value_list_setup(&(tmp->value), EO_DBG_INFO_TYPE);
if (list)
--
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb