From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaYuM-0006Pf-9p for qemu-devel@nongnu.org; Mon, 19 Nov 2012 16:29:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaYuL-0000iM-8G for qemu-devel@nongnu.org; Mon, 19 Nov 2012 16:29:34 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:34484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaYuL-0000hJ-1H for qemu-devel@nongnu.org; Mon, 19 Nov 2012 16:29:33 -0500 Message-ID: <50AAA4B6.506@weilnetz.de> Date: Mon, 19 Nov 2012 22:29:26 +0100 From: Stefan Weil MIME-Version: 1.0 References: <1353357794-10212-1-git-send-email-rth@twiddle.net> In-Reply-To: <1353357794-10212-1-git-send-email-rth@twiddle.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tci: Fix type of tci_read_label List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Blue Swirl , qemu-devel@nongnu.org Am 19.11.2012 21:43, schrieb Richard Henderson: > Fixes the pointer truncation that was occurring for branches. > > Cc: Stefan Weil > Cc: Blue Swirl > Signed-off-by: Richard Henderson > --- > tci.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tci.c b/tci.c > index 9c87c8e..54cf1d9 100644 > --- a/tci.c > +++ b/tci.c > @@ -338,9 +338,9 @@ static uint64_t tci_read_ri64(uint8_t **tb_ptr) > } > #endif > > -static target_ulong tci_read_label(uint8_t **tb_ptr) > +static tcg_target_ulong tci_read_label(uint8_t **tb_ptr) > { > - target_ulong label = tci_read_i(tb_ptr); > + tcg_target_ulong label = tci_read_i(tb_ptr); > assert(label != 0); > return label; > } > Thanks for fixing this. Reviewed-by: Stefan Weil Tested-by: Stefan Weil