summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-09 10:02:26 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-09 10:02:26 +0900
commit555df8f51077791b2330f27851ca39b6a513202e (patch)
tree124798a15285869dc1aab0c072950a0a9b1c31f6 /src/lib/ecore_file
parent955cc579d4d0b52cc71e309c35d1850424dc3cca (diff)
Revert "fix allocator sizeof operand mismatch reported by clang"
This reverts commit 955cc579d4d0b52cc71e309c35d1850424dc3cca. why? wrong. no. and it breaks actual execution/functioning. segv land
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 2c400870c8..e21e41c8c4 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)); 117 em = (Ecore_File_Monitor *)calloc(1, sizeof(Ecore_File_Monitor_Inotify));
118 if (!em) return NULL; 118 if (!em) return NULL;
119 119
120 em->func = func; 120 em->func = func;