]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiLib/Console.c
Add CONST modifier to align with the global array of mUnicodeWidthTable.
[mirror_edk2.git] / MdePkg / Library / UefiLib / Console.c
index b8d9bc12a47874cb0f8b143cd8133464ccbc3ff8..11b4befb940b3a2204d7390c12689e7192d3af6c 100644 (file)
@@ -207,10 +207,10 @@ GetGlyphWidth (
   IN CHAR16  UnicodeChar\r
   )\r
 {\r
-  UINTN               Index;\r
-  UINTN               Low;\r
-  UINTN               High;\r
-  UNICODE_WIDTH_ENTRY *Item;\r
+  UINTN                     Index;\r
+  UINTN                     Low;\r
+  UINTN                     High;\r
+  CONST UNICODE_WIDTH_ENTRY *Item;\r
 \r
   Item  = NULL;\r
   Low   = 0;\r