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>
(cherry picked from commit c8206f22fd
)
This commit is contained in:
committed by
Liming Gao
parent
1bbc25874b
commit
28e7f3b4d0
@ -88,7 +88,7 @@ OnigurumaMatch (
|
|||||||
OnigRegion *Region;
|
OnigRegion *Region;
|
||||||
INT32 OnigResult;
|
INT32 OnigResult;
|
||||||
OnigErrorInfo ErrorInfo;
|
OnigErrorInfo ErrorInfo;
|
||||||
CHAR8 ErrorMessage[ONIG_MAX_ERROR_MESSAGE_LEN];
|
OnigUChar ErrorMessage[ONIG_MAX_ERROR_MESSAGE_LEN];
|
||||||
UINT32 Index;
|
UINT32 Index;
|
||||||
OnigUChar *Start;
|
OnigUChar *Start;
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
Reference in New Issue
Block a user