From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 07089219FFED9 for ; Tue, 23 May 2017 16:10:31 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 23 May 2017 16:10:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,383,1491289200"; d="scan'208";a="90972980" Received: from mdkinney-mobl.amr.corp.intel.com ([10.241.98.52]) by orsmga002.jf.intel.com with ESMTP; 23 May 2017 16:10:30 -0700 From: Michael Kinney To: edk2-devel@lists.01.org Cc: Andrew Fish , Star Zeng , Eric Dong , Michael D Kinney Date: Tue, 23 May 2017 16:10:26 -0700 Message-Id: <1495581027-18592-2-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1495581027-18592-1-git-send-email-michael.d.kinney@intel.com> References: <1495581027-18592-1-git-send-email-michael.d.kinney@intel.com> Subject: [Patch 1/2] MdeModulePkg/RegularExpressionDxe: Fix XCODE5 build failure 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: , X-List-Received-Date: Tue, 23 May 2017 23:10:31 -0000 https://bugzilla.tianocore.org/show_bug.cgi?id=572 The ErrorMessage local variable in OnigurumaMatch() should be type OnigUChar instead of type CHAR8. This resolves a build failure with the XCODE5 tool chain. Cc: Andrew Fish Cc: Star Zeng Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael D Kinney --- MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c index a5ee7d5..cf325fc 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c +++ b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c @@ -88,7 +88,7 @@ OnigurumaMatch ( OnigRegion *Region; INT32 OnigResult; OnigErrorInfo ErrorInfo; - CHAR8 ErrorMessage[ONIG_MAX_ERROR_MESSAGE_LEN]; + OnigUChar ErrorMessage[ONIG_MAX_ERROR_MESSAGE_LEN]; UINT32 Index; OnigUChar *Start; EFI_STATUS Status; -- 2.6.3.windows.1