This commit is contained in:
jief 2020-03-11 19:33:04 +03:00
commit f641a26d3a

2
rEFIt_UEFI/Platform/plist.cpp Normal file → Executable file
View File

@ -870,7 +870,7 @@ EFI_STATUS FixDataMatchingTag( CHAR8* buffer, CONST CHAR8* tag, UINT32* lenPtr)
buffer[start + stop] = '\0'; buffer[start + stop] = '\0';
*lenPtr = start + length; *lenPtr = start + length;
if (*lenPtr == (__typeof__(*lenPtr))-1) { // Why is this test. -1 is UINTN_MAX. if (*lenPtr == (__typeof_am__(*lenPtr))-1) { // Why is this test. -1 is UINTN_MAX.
return EFI_UNSUPPORTED; return EFI_UNSUPPORTED;
} }