raster pushed a commit to branch master.
commit 445162530113e94741c90de74881b85b2e32e7b4
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Tue Jul 16 20:00:43 2013 +0900
fix clang sizeof complaint
---
src/lib/ecore_file/ecore_file_monitor_inotify.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ecore_file/ecore_file_monitor_inotify.c
b/src/lib/ecore_file/ecore_file_monitor_inotify.c
index 112bc81..60050e3 100644
--- a/src/lib/ecore_file/ecore_file_monitor_inotify.c
+++ b/src/lib/ecore_file/ecore_file_monitor_inotify.c
@@ -112,7 +112,7 @@ ecore_file_monitor_backend_add(const char *path,
ecore_file_monitor_backend_init();
}
- em = calloc(1, sizeof(Ecore_File_Monitor_Inotify));
+ em = (Ecore_File_Monitor *)calloc(1, sizeof(Ecore_File_Monitor_Inotify));
if (!em) return NULL;
em->func = func;
--
------------------------------------------------------------------------------
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