From nobody Sat Nov 2 16:21:27 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.zoho.com; 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 1485942578067766.1859396286573; Wed, 1 Feb 2017 01:49:38 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id AAB3581FB5; Wed, 1 Feb 2017 01:49:31 -0800 (PST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 393E081FAB for ; Wed, 1 Feb 2017 01:49:30 -0800 (PST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP; 01 Feb 2017 01:49:30 -0800 Received: from mdkinney-mobl.amr.corp.intel.com ([10.254.89.179]) by fmsmga005.fm.intel.com with ESMTP; 01 Feb 2017 01:49:29 -0800 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,319,1477983600"; d="scan'208";a="59876491" From: Michael Kinney To: edk2-devel@lists.01.org Date: Wed, 1 Feb 2017 01:49:09 -0800 Message-Id: <1485942552-47388-4-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1485942552-47388-1-git-send-email-michael.d.kinney@intel.com> References: <1485942552-47388-1-git-send-email-michael.d.kinney@intel.com> Subject: [edk2] [staging/edk2-test PATCH V2 3/6] TestFrameworkPkg: Fix VS2015 compatibility issues X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Fish MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Cc: Andrew Fish Cc: Supreeth Venkatesh Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney Reviewed-by: Supreeth Venkatesh --- TestFrameworkPkg/Sct/Execute/ExecuteSupport.c | 17 ----------------- TestFrameworkPkg/Sct/UI/KeyFunction.c | 14 +++++++------- 2 files changed, 7 insertions(+), 24 deletions(-) diff --git a/TestFrameworkPkg/Sct/Execute/ExecuteSupport.c b/TestFrameworkP= kg/Sct/Execute/ExecuteSupport.c index 43b117d..8036050 100644 --- a/TestFrameworkPkg/Sct/Execute/ExecuteSupport.c +++ b/TestFrameworkPkg/Sct/Execute/ExecuteSupport.c @@ -647,23 +647,6 @@ DeviceConfigGetString ( } =20 =20 -EFI_STATUS -DeviceConfigSetString ( - IN EFI_INI_FILE_HANDLE IniFile, - IN UINT32 Order, - IN CHAR16 *Key, - IN CHAR16 *Buffer - ) -{ - return IniFile->SetStringByOrder ( - IniFile, - Order, - EFI_SCT_SECTION_DEVICE_CONFIG, - Key, - Buffer - ); -} - STATIC VOID InsertChildHandles ( diff --git a/TestFrameworkPkg/Sct/UI/KeyFunction.c b/TestFrameworkPkg/Sct/U= I/KeyFunction.c index 30e1e8a..34e683f 100644 --- a/TestFrameworkPkg/Sct/UI/KeyFunction.c +++ b/TestFrameworkPkg/Sct/UI/KeyFunction.c @@ -637,11 +637,11 @@ Returns: BOOLEAN WAITING; CHAR16 Buffer[EFI_MAX_EDIT_LENGTH + 1]; CHAR16 TempStr[EFI_MAX_ITEM_VALUE_LENGTH + 1]; - INTN XOffSetInScreen; - INTN XOffSetInBuffer; - INTN FirstInDisplay; - INTN LastInDisplay; - INTN CurrentLength; + UINTN XOffSetInScreen; + UINTN XOffSetInBuffer; + UINTN FirstInDisplay; + UINTN LastInDisplay; + UINTN CurrentLength; UINTN TempValue; EFI_DIALOG_CONTEXT MsgDialogContext; CHAR16 *MsgDialogTitle; @@ -2187,8 +2187,8 @@ Returns: BOOLEAN BufferChanged; CHAR16 Buffer[EFI_MAX_ITER_EDIT_LENGTH + 1]; CHAR16 TempStr[EFI_MAX_ITER_EDIT_LENGTH + 1]; - INTN XOffSetInBuffer; - INTN CurrentLength; + UINTN XOffSetInBuffer; + UINTN CurrentLength; UINT32 TempValue; =20 // --=20 2.6.3.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel