From 45b18ce5b121849b01ac982c338565b9dcd8e2f4 Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Thu, 24 Nov 2016 10:49:46 +0800 Subject: [PATCH] MdeModulePkg/EbcDebugger: Compare ASCII char with '\0' Current code is using L'\0' to compare with a ASCII char. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Jiewen Yao --- MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c | 4 ++-- 1 file 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; } -- 2.39.2