]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix a typo when checking the 16-bit alignment of Unicode String.
authorQing Huang <qing.huang@intel.com>
Mon, 5 May 2008 07:06:57 +0000 (07:06 +0000)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 7 Apr 2016 06:22:43 +0000 (23:22 -0700)
(based on FatPkg commit 603a10ca818a089b8af594e0f1ef7e1a3e42d938)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Mark Doran <mark.doran@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
FatPkg/EnhancedFatDxe/UnicodeCollation.c

index 67f1b7c805724e579f690e3546d98842e1b29cc8..4a849af2eb642e013345d686cc537128a8388ab4 100644 (file)
@@ -275,7 +275,7 @@ FatFatToStr (
 {\r
   ASSERT (Fat != NULL);\r
   ASSERT (String != NULL);\r
-  ASSERT (((UINTN) String & 0x01) != 0);\r
+  ASSERT (((UINTN) String & 0x01) == 0);\r
   ASSERT (mUnicodeCollationInterface != NULL);\r
 \r
   mUnicodeCollationInterface->FatToStr (mUnicodeCollationInterface, FatSize, Fat, String);\r