X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=FatPkg%2FEnhancedFatDxe%2FUnicodeCollation.c;fp=FatPkg%2FEnhancedFatDxe%2FUnicodeCollation.c;h=4a849af2eb642e013345d686cc537128a8388ab4;hp=67f1b7c805724e579f690e3546d98842e1b29cc8;hb=8288dd3ef894b6a080cf3b61d02e9a27f01af742;hpb=c22c8322e9bd7ee7fd0c616b9cf300c4d205ef76 diff --git a/FatPkg/EnhancedFatDxe/UnicodeCollation.c b/FatPkg/EnhancedFatDxe/UnicodeCollation.c index 67f1b7c805..4a849af2eb 100644 --- a/FatPkg/EnhancedFatDxe/UnicodeCollation.c +++ b/FatPkg/EnhancedFatDxe/UnicodeCollation.c @@ -275,7 +275,7 @@ FatFatToStr ( { ASSERT (Fat != NULL); ASSERT (String != NULL); - ASSERT (((UINTN) String & 0x01) != 0); + ASSERT (((UINTN) String & 0x01) == 0); ASSERT (mUnicodeCollationInterface != NULL); mUnicodeCollationInterface->FatToStr (mUnicodeCollationInterface, FatSize, Fat, String);