From nobody Mon Feb 9 19:52:20 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1493294524464997.1029333268872; Thu, 27 Apr 2017 05:02:04 -0700 (PDT) Received: from localhost ([::1]:60202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3i7X-00053a-5L for importer@patchew.org; Thu, 27 Apr 2017 08:02:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3i5q-0003rK-Px for qemu-devel@nongnu.org; Thu, 27 Apr 2017 08:00:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3i5o-0001Mm-8U for qemu-devel@nongnu.org; Thu, 27 Apr 2017 08:00:18 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:35493) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d3i5o-0001MA-1x for qemu-devel@nongnu.org; Thu, 27 Apr 2017 08:00:16 -0400 Received: by mail-wr0-x244.google.com with SMTP id g12so3522661wrg.2 for ; Thu, 27 Apr 2017 05:00:15 -0700 (PDT) Received: from bigtime.twiddle.net.com (251.red-80-29-7.adsl.static.ccgg.telefonica.net. [80.29.7.251]) by smtp.gmail.com with ESMTPSA id i199sm3056470wmf.33.2017.04.27.05.00.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Apr 2017 05:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=wLB7THZ04AUqkYfnidgIHeep/5NqZnmTEiBShxknpKE=; b=sL2Te01NavHa4IN7sIDEwvVcdfu8k2mHHomhTAH6t9/R2MQ5qLu3HQZq7SxunWV0Sy igHeZr5PYAQTQV1jo+SU3Dk6WAFAhverI3DAi5E+Wo7REukmp0WHzqzuX/voMYdqp6YF OZqUDSmmnOWh8NLrKLtfNQRJ8UZO0Or6R3lnjyGdoqPd5kkflM2bS/MdBCYZjJ1lM1Y2 Y1o/UT4h74QkFX6wUpT6vfIJwm60Tv02W6PLNXrK7+lAvXECkDoSp/wLYjTJavnzUeU8 jFveyMm4vlxw787Hnz4VN9i2AH1iCPo817OXhzRTp49NJ+LW5n9TRf1gj3rFx2tkG2Mz OMTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=wLB7THZ04AUqkYfnidgIHeep/5NqZnmTEiBShxknpKE=; b=EAjeqoNoFdS4covwzV6SzAp3f41QcYS7d+a4CzzQ+Zm4EtaG+GedgqfCOw4nDhfPsc cdDeh7QW7JbDQ+yivJQSpuN7Zr5M4afwo3G0wXxvHFSwngCcgAqSIe4KofmF1n64gCth hhyemJ8wm2J90D7eiiI23iWHmdRSqjyeSkoOiugmzQgrkpudngDNNVG8o2KtwvL9ArvB qreu7hISMXxu63arMENHsN9let/5N/BGhQMOoJyCG4ofPXfN4YJY2BnMt+83dOZyaaWp zSl2waEV25trT2q2msPbW5fAwbgSvkuXoZxTOjliYSJiLFg6+RtEWMH3cLHpAu6Ih/Rx Le6A== X-Gm-Message-State: AN3rC/7Ljj1CwzbUvVXHY3PW84QZ6MUh2xNcJoGLUS4rDYF+2we5z7jZ w7sXtU58LAIJGsWbLpA= X-Received: by 10.223.170.197 with SMTP id i5mr3137449wrc.143.1493294414582; Thu, 27 Apr 2017 05:00:14 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 27 Apr 2017 13:59:48 +0200 Message-Id: <20170427120006.20564-2-rth@twiddle.net> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170427120006.20564-1-rth@twiddle.net> References: <20170427120006.20564-1-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 Subject: [Qemu-devel] [PATCH v5 01/19] target/nios2: Fix 64-bit ilp32 compilation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: cota@braap.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Avoid a "cast from pointer to integer of different size" warning by using the proper host type. Signed-off-by: Richard Henderson Reviewed-by: Alex Benn=C3=A9e --- target/nios2/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/nios2/translate.c b/target/nios2/translate.c index cfec479..2f3c2e5 100644 --- a/target/nios2/translate.c +++ b/target/nios2/translate.c @@ -164,7 +164,7 @@ static void gen_goto_tb(DisasContext *dc, int n, uint32= _t dest) if (use_goto_tb(dc, dest)) { tcg_gen_goto_tb(n); tcg_gen_movi_tl(dc->cpu_R[R_PC], dest); - tcg_gen_exit_tb((tcg_target_long)tb + n); + tcg_gen_exit_tb((uintptr_t)tb + n); } else { tcg_gen_movi_tl(dc->cpu_R[R_PC], dest); tcg_gen_exit_tb(0); --=20 2.9.3