summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2014-01-09 09:08:32 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2014-01-09 09:10:02 +0900
commit955cc579d4d0b52cc71e309c35d1850424dc3cca (patch)
treee4bca155523bd887effca470554af624eccb8cf9 /src/lib/ecore_file
parent7566c5bbb7e7604ee26074323ff106c8d42b8a17 (diff)
fix allocator sizeof operand mismatch reported by clang
https://build.enlightenment.org/job/nightly_efl_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-07-1/report-QL6MiM.html#EndPath https://build.enlightenment.org/job/nightly_efl_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-07-1/report-a2l0Ci.html#EndPath https://build.enlightenment.org/job/nightly_efl_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-07-1/report-McvqNf.html#EndPath
Diffstat (limited to 'src/lib/ecore_file')
-rw-r--r--src/lib/ecore_file/ecore_file_monitor_inotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_file/ecore_file_monitor_inotify.c b/src/lib/ecore_file/ecore_file_monitor_inotify.c
index e21e41c8c4..2c400870c8 100644
--- a/src/lib/ecore_file/ecore_file_monitor_inotify.c
+++ b/src/lib/ecore_file/ecore_file_monitor_inotify.c
@@ -114,7 +114,7 @@ ecore_file_monitor_backend_add(const char *path,
114 ecore_file_monitor_backend_init(); 114 ecore_file_monitor_backend_init();
115 } 115 }
116 116
117 em = (Ecore_File_Monitor *)calloc(1, sizeof(Ecore_File_Monitor_Inotify)); 117 em = (Ecore_File_Monitor *)calloc(1, sizeof(Ecore_File_Monitor));
118 if (!em) return NULL; 118 if (!em) return NULL;
119 119
120 em->func = func; 120 em->func = func;