]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Replace non-ASCII character in Pci.c to fix GCC build error
authorQiu Shumin <shumin.qiu@intel.com>
Mon, 25 Aug 2014 17:56:27 +0000 (17:56 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 25 Aug 2014 17:56:27 +0000 (17:56 +0000)
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

ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c

index 75c56ecb861f3ed26e575bcd41c801cd2df392d0..30b88e5d9e1e11d530142a14227354732f1d0266 100644 (file)
@@ -803,12 +803,12 @@ PCI_CLASS_ENTRY PCISubClass_0d[] = {
   },\r
   {\r
     0x20,\r
-    L"Ethernet (802.11a \96 5 GHz)",\r
+    L"Ethernet (802.11a - 5 GHz)",\r
     PCIBlankEntry\r
   },\r
   {\r
     0x21,\r
-    L"Ethernet (802.11b \96 2.4 GHz)",\r
+    L"Ethernet (802.11b - 2.4 GHz)",\r
     PCIBlankEntry\r
   },\r
   {\r