summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-11-24 10:49:46 +0800
committerHao Wu <hao.a.wu@intel.com>2016-11-25 13:34:28 +0800
commit45b18ce5b121849b01ac982c338565b9dcd8e2f4 (patch)
treee53e8dbab35118ebea51192b3d8cec520de7617b
parenteebfb7b2a52629f7c7268a9f5417ea86477c38eb (diff)
downloadedk2-45b18ce5b121849b01ac982c338565b9dcd8e2f4.tar.gz
edk2-45b18ce5b121849b01ac982c338565b9dcd8e2f4.tar.bz2
edk2-45b18ce5b121849b01ac982c338565b9dcd8e2f4.zip
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>
-rw-r--r--MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c b/MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c
index 558fe91821..555ee96d48 100644
--- a/MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c
+++ b/MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c
@@ -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;
}