fix clang sizeof complaint

This commit is contained in:
Carsten Haitzler 2013-07-16 20:00:43 +09:00
parent 8db2c018f8
commit 4451625301
1 changed files with 1 additions and 1 deletions

View File

@ -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;