Fix a build warning for initialization from incompatible pointer type 97/181597/2 submit/tizen/20180620.111119
authorhyunuktak <hyunuk.tak@samsung.com>
Fri, 15 Jun 2018 04:33:54 +0000 (13:33 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Fri, 15 Jun 2018 04:34:26 +0000 (13:34 +0900)
Change-Id: I780bcde31ee66a14e1b9d18521b8c1ef8d6350b8
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/stc-manager.spec
src/helper/helper-inotify.c

index 52b858d..857db2c 100644 (file)
@@ -1,6 +1,6 @@
 Name:       stc-manager
 Summary:    STC(Smart Traffic Control) manager
-Version:    0.0.67
+Version:    0.0.68
 Release:    0
 Group:      Network & Connectivity/Other
 License:    Apache-2.0
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;