Message ID | 1481784588-35336-4-git-send-email-heyi.guo@linaro.org |
---|---|
State | Accepted |
Commit | 00de920a0339e78824cdb9015f66c5a98644e0b6 |
Headers | show |
diff --git a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp index ec73529..2be0c38 100644 --- a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp +++ b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp @@ -1365,7 +1365,7 @@ CIfrRecordInfoDB::IfrUpdateRecordInfoForDynamicOpcode ( // Base on the original offset info to update the record list. // if (!IfrAdjustDynamicOpcodeInRecords(CreateOpcodeAfterParsingVfr)) { - gCVfrErrorHandle.PrintMsg (0, "Error", "Can not find the adjust offset in the record."); + gCVfrErrorHandle.PrintMsg (0, (CHAR8 *)"Error", (CHAR8 *)"Can not find the adjust offset in the record."); } //
Fix build warnings of "deprecated conversion from string constant to ‘CHAR8* {aka char*}’ [-Wwrite-strings]" for BaseTools, while using "gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)". Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Heyi Guo <heyi.guo@linaro.org> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> --- BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)