From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,319,1477983600"; d="scan'208";a="59876491" 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 From: Michael Kinney To: edk2-devel@lists.01.org Cc: Andrew Fish , Supreeth Venkatesh 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: [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: , X-List-Received-Date: Wed, 01 Feb 2017 09:49:30 -0000 Cc: Andrew Fish Cc: Supreeth Venkatesh Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney --- 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/TestFrameworkPkg/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 ( } -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/UI/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; // -- 2.6.3.windows.1