Fix a build warning for initialization from incompatible pointer type
[platform/core/connectivity/stc-manager.git] / src / helper / helper-inotify.c
index 05d10db..1283cc6 100755 (executable)
@@ -75,7 +75,8 @@ static gboolean __inotify_data(GIOChannel *channel,
        }
 
        while (bytes_read > 0) {
-               struct inotify_event *event = next_event;
+               struct inotify_event *event =
+                       (struct inotify_event *)next_event;
                gchar *ident = NULL;
                gsize len = 0;