From 7c6c4ac801f0797ce6d6256ee446fc11f8a7e053 Mon Sep 17 00:00:00 2001 From: Zhang Lubo Date: Fri, 10 Jul 2015 06:50:41 +0000 Subject: NetworkPkg: Fix an error that return type differs from the left one when assigned. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo Reviewed-by: Fu Siyuan Reviewed-by: Qiu Shumin Reviewed-by: jiaxinwu git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17921 6f19259b-4bc3-4df7-8a09-765794883524 --- NetworkPkg/Application/IfConfig6/IfConfig6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NetworkPkg/Application') diff --git a/NetworkPkg/Application/IfConfig6/IfConfig6.c b/NetworkPkg/Application/IfConfig6/IfConfig6.c index 4cec44f8d5..8d464b8e61 100644 --- a/NetworkPkg/Application/IfConfig6/IfConfig6.c +++ b/NetworkPkg/Application/IfConfig6/IfConfig6.c @@ -127,7 +127,7 @@ SplitStrToList ( ARG_LIST *ArgList; ARG_LIST *ArgNode; - if (*String == L'\0' || *String == NULL) { + if (String == NULL || *String == L'\0') { return NULL; } -- cgit v1.2.3