From d56633f1127e88f7744282e9feaf247d580cf31a Mon Sep 17 00:00:00 2001 From: hyunuktak Date: Fri, 15 Jun 2018 13:33:54 +0900 Subject: [PATCH] Fix a build warning for initialization from incompatible pointer type Change-Id: I780bcde31ee66a14e1b9d18521b8c1ef8d6350b8 Signed-off-by: hyunuktak --- packaging/stc-manager.spec | 2 +- src/helper/helper-inotify.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/stc-manager.spec b/packaging/stc-manager.spec index 52b858d..857db2c 100644 --- a/packaging/stc-manager.spec +++ b/packaging/stc-manager.spec @@ -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 diff --git a/src/helper/helper-inotify.c b/src/helper/helper-inotify.c index 05d10db..1283cc6 100755 --- a/src/helper/helper-inotify.c +++ b/src/helper/helper-inotify.c @@ -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; -- 2.7.4