From 59577231a763edbf3a765f0900b3db3dd610972c Mon Sep 17 00:00:00 2001 From: Qiu Shumin Date: Mon, 25 Aug 2014 17:56:27 +0000 Subject: [PATCH] ShellPkg: Replace non-ASCII character in Pci.c to fix GCC build error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit For Invalid character ‘-’ in Pci.c line 806 and line 811, using ASCII encoding byte 0x2d to replace. Example error from GCC 4.9: ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c:806:5: error: converting to execution character set: Invalid or incomplete multibyte or wide character L"Ethernet (802.11a � 5 GHz)", ^ Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin Reviewed-by: Jaben Carsey Tested-by: Jordan Justen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15889 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c index 75c56ecb86..30b88e5d9e 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c @@ -803,12 +803,12 @@ PCI_CLASS_ENTRY PCISubClass_0d[] = { }, { 0x20, - L"Ethernet (802.11a – 5 GHz)", + L"Ethernet (802.11a - 5 GHz)", PCIBlankEntry }, { 0x21, - L"Ethernet (802.11b – 2.4 GHz)", + L"Ethernet (802.11b - 2.4 GHz)", PCIBlankEntry }, { -- 2.39.2