From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id DF077940FE2 for ; Tue, 28 May 2024 03:28:25 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=MzbEExJLY5dpuZrkRQpTcjGVGJDoNmerRtEyBMnwYSE=; c=relaxed/simple; d=groups.io; h=Received-SPF:From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Received-SPF:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20240206; t=1716866905; v=1; b=iNaoU5mew/PSJvRXsFYXTR44JHbV/5vbcxyrVRd/xl0D0/PQ+2FmEnFOjD3ipcFf0JF2ZYlr IDeFM46BYh/tpCp+mSYGq/yf04FkZpnJ1kEUC+sdUGkoaszJwnIFag8C7OXH7vyCnbaPuPMtwUP 7zIGzEDR7BRXIZOZ4Del4TFn/LQLKlg0LpF11h7Ib1ckVkY8L8tk0vGcSYmpWzBYfqu0PwL527S 5IXdCYSZwg+fQkxIFk3+DvHHMX7RiVSAHCOJAXhKEV1krqAHGOGpX2CcfdWLMReKJAw7CElmxgC +vxFvaBdwBLSKjca9v3FDTaYfFiFQlZ5bd9oYsHaEXE2g== X-Received: by 127.0.0.2 with SMTP id lHs0YY7687511x1yuTXbUeuT; Mon, 27 May 2024 20:28:24 -0700 X-Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.86]) by mx.groups.io with SMTP id smtpd.web11.14205.1716866903760186388 for ; Mon, 27 May 2024 20:28:23 -0700 X-Received: from CH0PR08CA0010.namprd08.prod.outlook.com (2603:10b6:610:33::15) by SJ0PR12MB8089.namprd12.prod.outlook.com (2603:10b6:a03:4eb::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Tue, 28 May 2024 03:28:20 +0000 X-Received: from CH2PEPF00000142.namprd02.prod.outlook.com (2603:10b6:610:33:cafe::3d) by CH0PR08CA0010.outlook.office365.com (2603:10b6:610:33::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.55 via Frontend Transport; Tue, 28 May 2024 03:28:19 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C X-Received: from SATLEXMB03.amd.com (165.204.84.17) by CH2PEPF00000142.mail.protection.outlook.com (10.167.244.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7633.15 via Frontend Transport; Tue, 28 May 2024 03:28:19 +0000 X-Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 27 May 2024 22:28:19 -0500 X-Received: from BLR-LAB-SFW01.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 27 May 2024 22:28:17 -0500 From: "Abdul Lateef Attar via groups.io" To: CC: Abdul Lateef Attar , Paul Grimes , Abner Chang Subject: [edk2-devel] [edk2-platform 2/2] AmdPlatformPkg: Fix windows VC compilation warning Date: Tue, 28 May 2024 08:58:02 +0530 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Received-SPF: None (SATLEXMB03.amd.com: AbdulLateef.Attar@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PEPF00000142:EE_|SJ0PR12MB8089:EE_ X-MS-Office365-Filtering-Correlation-Id: bc774b84-e5bf-4a47-7b19-08dc7ec63899 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?lS+4rAQ6v9qrGwuLZ9KtjEbsYtdXt2GEDMWZDGPke0IrjK0/SURLCgRmnQvH?= =?us-ascii?Q?ZFj/g8piu533EhS+LnDo/mGVsZVJEljJnooDaMrvYRs0izSv4dwhRyEHWg1c?= =?us-ascii?Q?AQhV1P1OaipDp32cpWG8dxEbv2pgM7pFlUej8owfoG46dTd2+wc++IL2BdZP?= =?us-ascii?Q?5sJES2CjScD08/LNDNMr1LtCtVliidKChf/+27Ag4ynnTmma52Jp+aM64N/t?= =?us-ascii?Q?aku3ZczFrjiNxNwHX0s5gfeCIdh7XoP5dgVnS6uNPT7HzRwbmkEfBP34cXqR?= =?us-ascii?Q?wN6T6PO2W5K580xYukGa07e9dtTuX1J5rUlj7Z0X4Wy7lVNr1NsH23d3JOmR?= =?us-ascii?Q?JOMlRp/r18SWyumaHDdzdR90G0vD4qjio77CZVX/xjGNUabB03ZKW9Roz2Xs?= =?us-ascii?Q?QAUJj9W+ykQe8sGjvloYeMXr6HmgJrwFQ/YM4P9WbJmZg0WGxqYgghzREfRq?= =?us-ascii?Q?yCcDYl5Ie6XByCZapoz1NLr1e9uJcYfTaga5qeEw+DOhnLxSxKXjsk5KszWU?= =?us-ascii?Q?46zzJ7PmPjv1zMv9+mGVUZE6SDSFgTbdDY6rN8hzPa/uUxPODe/D0GBnOeJL?= =?us-ascii?Q?+P2oOtZP8uYXbiqI1zGOS87IydpbTyv1/Z/Ox4LxGHuE89MQQGfiIwWJVPdA?= =?us-ascii?Q?iQWzpPnV+/8NUYS3e8ou42+CC0b2Mylr48dDKQM08S+BWY7V9jxggqbBOsiB?= =?us-ascii?Q?6rRrFsZ/tDsEYVjcZxg7aMRQsb/79DSGGS1vZYFJzhuMyfq+ZE9Gmw5WJVaG?= =?us-ascii?Q?+PpICak5faGijyIxEStNp5rS+anRt+1lE/BRsKRE/TGorqvQj9LpemqKa7Mw?= =?us-ascii?Q?4U2lWC/RaHdVa2QPecZ/8wibqhHlMuBfjChkZEoYyy/PxDCcxxTeIhSG5XNp?= =?us-ascii?Q?FXj2FL9m8QhUxvVamwNkczs9nZ3q2Nl2478XED5d0PAW80cW1HGT5XS8ejyU?= =?us-ascii?Q?FfmI7vR2Q1Qsq5KC4Sih9ozsjjr64zVKvqBAVQO5lu2Xuvp75rnuIZvRybjB?= =?us-ascii?Q?fDxd6uadJ0PnBaWaud2U0tgpmn2pX8zYfM0c+vhRkFtpXMwCG6+aZ0M8bItV?= =?us-ascii?Q?mJ9kan44CvR8Oum3MKV/NlWaI65aH816mkf+cBie/bcx8TB9pVC+gzeuVxgX?= =?us-ascii?Q?GjjalO4c6s/Zlh9MgTufLzPI4t72LWW5H2f3IA4Ucnolt0VvxQu08+950qfj?= =?us-ascii?Q?4uX3MMjRM+3C32RXzVPkboI3/iXzWus0noxvFPZqMcqKJxz2rzoLYfrbvRfV?= =?us-ascii?Q?O1Xav5ApsQEk3nYHPzcPrw1jM5ZPa1AmsBi4M5zsoafPKlKthM6GnQAB9sMe?= =?us-ascii?Q?tJsJOi6l79/i/saDawghp0pOcaLy9/bkF8TE9nkZ68F7xQKtEA4vaGOo2n9k?= =?us-ascii?Q?20+9wtJu+ny0XfE+IiXq0lbU8Rae?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2024 03:28:19.7349 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bc774b84-e5bf-4a47-7b19-08dc7ec63899 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH2PEPF00000142.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB8089 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 27 May 2024 20:28:23 -0700 Resent-From: AbdulLateef.Attar@amd.com Reply-To: devel@edk2.groups.io,AbdulLateef.Attar@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: mvkTRqZvLWaqWL2XogpMgfUgx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=iNaoU5me; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Fix windows VC compilattion warning for AcpiCommon driver. Cc: Paul Grimes Cc: Abner Chang Signed-off-by: Abdul Lateef Attar --- .../AMD/AmdPlatformPkg/Universal/Acpi/AcpiCommon/PciSsdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/AMD/AmdPlatformPkg/Universal/Acpi/AcpiCommon/PciSsdt.= c b/Platform/AMD/AmdPlatformPkg/Universal/Acpi/AcpiCommon/PciSsdt.c index a9d3c83a5e..162e455c63 100644 --- a/Platform/AMD/AmdPlatformPkg/Universal/Acpi/AcpiCommon/PciSsdt.c +++ b/Platform/AMD/AmdPlatformPkg/Universal/Acpi/AcpiCommon/PciSsdt.c @@ -261,7 +261,7 @@ InternalInsertRootBridgeResources ( if ((LocalBuffer->ResType =3D=3D ACPI_ADDRESS_SPACE_TYPE_BUS) && (LocalBuffer->AddrRangeMin =3D=3D RootBridge->Object->BaseBu= sNumber)) { - BaseBusNumber =3D LocalBuffer->AddrRangeMin; + BaseBusNumber =3D (UINTN)LocalBuffer->AddrRangeMin; break; } } @@ -290,7 +290,7 @@ InternalInsertRootBridgeResources ( break; } else if (LocalBuffer->Header.Header.Byte =3D=3D ACPI_QWORD_ADDRESS_S= PACE_DESCRIPTOR) { if (LocalBuffer->ResType =3D=3D ACPI_ADDRESS_SPACE_TYPE_BUS) { - BaseBusNumber =3D LocalBuffer->AddrRangeMin; + BaseBusNumber =3D (UINTN)LocalBuffer->AddrRangeMin; Status =3D AmlCodeGenRdWordBusNumber ( FALSE, TRUE, --=20 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119289): https://edk2.groups.io/g/devel/message/119289 Mute This Topic: https://groups.io/mt/106342983/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-