Fix casting Boolean to BOOL on Apple Silicon

This fixes the following error when compiling for Apple Silicon on Xcode 12:

> SUHost.m:231:23: Cast from function call of type 'Boolean' (aka 'unsigned char') to non-matching type 'BOOL' (aka 'bool')
This commit is contained in:
Kevin Wojniak authored and Kornel committed 2020-06-29 02:02:04 +01:00
1 parent b7793249e0
commit 1ff3ed7fad
1 file changed
+1 -1
+1 -1
View File
@@ -228,7 +228,7 @@ NS_ASSUME_NONNULL_BEGIN
}
else
{
value = (BOOL)CFBooleanGetValue((CFBooleanRef)plr);
value = CFBooleanGetValue((CFBooleanRef)plr) ? YES : NO;
CFRelease(plr);
}
return value;