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:
Hao Wu 2016-11-24 10:49:46 +08:00
parent eebfb7b2a5
commit 45b18ce5b1
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}