From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6gj5-0005b1-Pt for qemu-devel@nongnu.org; Tue, 06 Aug 2013 08:51:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6gj4-0000lk-3l for qemu-devel@nongnu.org; Tue, 06 Aug 2013 08:50:59 -0400 Received: from mail.avalus.com ([2001:41c8:10:1dd::10]:51390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6gj3-0000lc-TT for qemu-devel@nongnu.org; Tue, 06 Aug 2013 08:50:58 -0400 Date: Tue, 06 Aug 2013 13:50:54 +0100 From: Alex Bligh Message-ID: <875AD02A467FC07255008B58@nimrod.local> In-Reply-To: <20130806123400.GE30812@stefanha-thinkpad.redhat.com> References: <1375639805-1943-1-git-send-email-alex@alex.org.uk> <1375780592-22842-1-git-send-email-alex@alex.org.uk> <1375780592-22842-10-git-send-email-alex@alex.org.uk> <20130806123400.GE30812@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [Qemu-devel] [RFC] [PATCHv6 09/16] aio / timers: Add a notify callback to QEMUTimerList Reply-To: Alex Bligh List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Anthony Liguori , qemu-devel@nongnu.org, liu ping fan , Alex Bligh , Paolo Bonzini , MORITA Kazutaka , rth@twiddle.net --On 6 August 2013 14:34:00 +0200 Stefan Hajnoczi wrote: >> +static void aio_timerlist_notify(void *opaque) >> +{ >> + aio_notify((AioContext *)opaque); > > void * is automatically converted to any pointer type. No need for an > explicit cast, a C compiler doesn't emit a warning here. OK -- Alex Bligh