forked from enlightenment/efl
fix clang sizeof complaint
This commit is contained in:
parent
8db2c018f8
commit
4451625301
|
@ -112,7 +112,7 @@ ecore_file_monitor_backend_add(const char *path,
|
||||||
ecore_file_monitor_backend_init();
|
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;
|
if (!em) return NULL;
|
||||||
|
|
||||||
em->func = func;
|
em->func = func;
|
||||||
|
|
Loading…
Reference in New Issue