Hi Vinicius, On Fri, Feb 10, 2012, Vinicius Costa Gomes wrote: > --- > plugins/adaptername.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/plugins/adaptername.c b/plugins/adaptername.c > index e154e92..a2f9c8f 100644 > --- a/plugins/adaptername.c > +++ b/plugins/adaptername.c > @@ -241,7 +241,7 @@ static gboolean handle_inotify_cb(GIOChannel *channel, GIOCondition cond, > > i = 0; > while (i < len) { > - struct inotify_event *pevent = (struct inotify_event *) &buf[i]; > + struct inotify_event *pevent = (void *) &buf[i]; > > /* check that it's ours */ > if (pevent->len && pevent->name != NULL && I see how this might remove the warning but not how it removes potential unaligned access of pevent->len and pevent->name. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html