From nobody Fri Dec 27 03:35:35 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1504271093011417.54424179990565; Fri, 1 Sep 2017 06:04:53 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 3A46021E62BA4; Fri, 1 Sep 2017 06:01:50 -0700 (PDT) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8036821EB88FB for ; Fri, 1 Sep 2017 06:01:49 -0700 (PDT) Received: by mail-lf0-x230.google.com with SMTP id d202so557363lfd.5 for ; Fri, 01 Sep 2017 06:04:34 -0700 (PDT) Received: from enkidu.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id m129sm21754lfg.26.2017.09.01.06.04.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Sep 2017 06:04:31 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZkV+ijcaTgpaKjaOvIVyEUCautJuJbAagknAWTA1AyY=; b=c7Hi5NpIDwicF+qoYxK8ZcBvj/JSG9CGmGD8GJCkVHAeYrn3B1xNMFi78iDmfGnRZi Ccy38p1JAr0cUYloU9KwOXr1j8xV42zMnUATHWPez7fZV3xzAf6Sqy21XPzxrOL15Xz6 dGom9TkPT330vN6J0fvhkVHMXce1iDoGAo6plY5twzh6ESSEtlKcvqeoZrAFqJqJs9tt MhqhvDrvjtaxsWmBsFF2lNP005gwjH+xpYS6R0ozE3UGJfIi+DMnPYQ38BRIFKTT1/oK jlNGzlLjQyNuBjJaZ0/J/X4s0tglt4MZdrBqA1I/djy1ejFCdpSz5ZfxW5JscvL45dxA +jMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZkV+ijcaTgpaKjaOvIVyEUCautJuJbAagknAWTA1AyY=; b=sP55RYrP1m8fKq4tMxl1QHUaRpBHnCBBSkn58dVXiJo0DfwJ38thKktORxKZ+/YSFF 4/RWoBU8Yv/qvkomKNiu8JklAl3P0wd+0OgTuRVN3YMw98i+Qg2Zj3m2fw2lxmDLMKiJ lVWGl3L2EmIi0Bw9aAGKSXXhHFn5oImTZXXHtBJPRu9J1CGpx6NSWosq3hxSaxkqx5Yj 8LtDQrX7hIAKZkjozKZodBcg2J9NRR7+FE0DGgxEsmsTM0DFL6kzzWvl0k1adu0mgwbY tXx7gbeDJMfo50m2VZ8axbM8/iv6WE6MabWMXnK6UU6hlI5pzfSOmB8JANZ8UpdllbmV Y9Wg== X-Gm-Message-State: AHPjjUhi5MGCpEKdKPlSdFUY+ycZ6sL2rTNSiVIRxKFTHWXfCKm3N2jO IdkrcpZCiSubSbDnevMpQA== X-Google-Smtp-Source: ADKCNb53vhCKuNh9yfgyp051sUuSYouOxhH/CZo0ATA8Yb8LSnqyW89t/VP/YnvxMRhzC8HxV6alAQ== X-Received: by 10.25.84.136 with SMTP id b8mr906588lfl.9.1504271072143; Fri, 01 Sep 2017 06:04:32 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Fri, 1 Sep 2017 15:08:20 +0200 Message-Id: <1504271303-1782-9-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1504271303-1782-1-git-send-email-mw@semihalf.com> References: <1504271303-1782-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH 08/11] Applications/SpiTool: Fix 32-bit issues X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, agraf@suse.de, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Ard Biesheuvel Fix casting and related issues to make this code build for 32-bit ARM. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Applications/SpiTool/SpiFlashCmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Marvell/Applications/SpiTool/SpiFlashCmd.c b/Platform= /Marvell/Applications/SpiTool/SpiFlashCmd.c index e6e1007..ee14270 100644 --- a/Platform/Marvell/Applications/SpiTool/SpiFlashCmd.c +++ b/Platform/Marvell/Applications/SpiTool/SpiFlashCmd.c @@ -418,7 +418,7 @@ EFI_STATUS Status; } } =20 - Buffer =3D (UINT8 *) Address; + Buffer =3D (UINT8 *)(UINTN)Address; if (FileFlag) { Buffer =3D FileBuffer; } --=20 1.8.3.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel