diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2014-08-25 17:56:27 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-25 17:56:27 +0000 |
commit | 59577231a763edbf3a765f0900b3db3dd610972c (patch) | |
tree | f972f55609a1a4b63a579c2cf9f04bc6fd14d4ad | |
parent | a361d391601b82b4e9c1877f53c0dfe753febd43 (diff) | |
download | edk2-59577231a763edbf3a765f0900b3db3dd610972c.tar.gz edk2-59577231a763edbf3a765f0900b3db3dd610972c.tar.bz2 edk2-59577231a763edbf3a765f0900b3db3dd610972c.zip |
ShellPkg: Replace non-ASCII character in Pci.c to fix GCC build error
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 <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
Tested-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15889 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c | 4 |
1 files 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
},
{
|