From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 771BF8203A for ; Tue, 31 Jan 2017 10:45:27 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 31 Jan 2017 10:45:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,315,1477983600"; d="scan'208";a="815517671" Received: from mdkinney-mobl.amr.corp.intel.com ([10.254.107.104]) by FMSMGA003.fm.intel.com with ESMTP; 31 Jan 2017 10:45:27 -0800 From: Michael Kinney To: edk2-devel@lists.01.org Cc: Andrew Fish , Supreeth Venkatesh Date: Tue, 31 Jan 2017 10:45:19 -0800 Message-Id: <1485888322-56072-4-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1485888322-56072-1-git-send-email-michael.d.kinney@intel.com> References: <1485888322-56072-1-git-send-email-michael.d.kinney@intel.com> Subject: [staging/edk2-test PATCH 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: Tue, 31 Jan 2017 18:45:27 -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