Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
CHAR8 AsciiChar;\r
EFI_STATUS Status;\r
UINT8 ValidBytes;\r
+ CHAR8 CrLfStr[2];\r
//\r
// flag used to indicate whether condition happens which will cause\r
// return EFI_WARN_UNKNOWN_GLYPH\r
// the driver, but only if we're not in the middle of\r
// printing an escape sequence.\r
//\r
- CHAR8 CrLfStr[] = {'\r', '\n'};\r
+ CrLfStr[0] = '\r';\r
+ CrLfStr[1] = '\n';\r
\r
Length = sizeof(CrLfStr);\r
\r