diff --git a/rEFIt_UEFI/Platform/plist.cpp b/rEFIt_UEFI/Platform/plist.cpp old mode 100644 new mode 100755 index 34ac1d4c7..438793dc8 --- a/rEFIt_UEFI/Platform/plist.cpp +++ b/rEFIt_UEFI/Platform/plist.cpp @@ -870,7 +870,7 @@ EFI_STATUS FixDataMatchingTag( CHAR8* buffer, CONST CHAR8* tag, UINT32* lenPtr) buffer[start + stop] = '\0'; *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; }