summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/RegularExpressionDxe
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2017-05-23 12:03:39 -0700
committerMichael Kinney <michael.d.kinney@intel.com>2017-05-24 16:43:46 -0700
commitc8206f22fd2fb6e72c291304d38d8d1ddee732ce (patch)
treea275466cc0143f1108a47fd27cd797c3fc43f3a4 /MdeModulePkg/Universal/RegularExpressionDxe
parent00b00cc57bfe0fca54c904d4dd44a263e243c88b (diff)
downloadedk2-c8206f22fd2fb6e72c291304d38d8d1ddee732ce.tar.gz
edk2-c8206f22fd2fb6e72c291304d38d8d1ddee732ce.tar.bz2
edk2-c8206f22fd2fb6e72c291304d38d8d1ddee732ce.zip
MdeModulePkg/RegularExpressionDxe: Fix XCODE5 build failure
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 <afish@apple.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Andrew Fish <afish@apple.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal/RegularExpressionDxe')
-rw-r--r--MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c
index a5ee7d52fd..cf325fced7 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;