mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/EbcDebugger: Compare ASCII char with '\0'
Current code is using L'\0' to compare with a ASCII char. Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
parent
eebfb7b2a5
commit
45b18ce5b1
|
@ -1,6 +1,6 @@
|
|||
/*++
|
||||
|
||||
Copyright (c) 2007, Intel Corporation
|
||||
Copyright (c) 2007 - 2016, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -882,7 +882,7 @@ Routine Description:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (*Begin == L'\0') {
|
||||
if (*Begin == '\0') {
|
||||
mAsciiFieldBuffer = NULL;
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue