Properly cast to BOOL when checking for profile

This commit is contained in:
Lukas Spieß
2015-10-22 22:02:45 +02:00
parent 29c1b2824c
commit baef2d607f

View File

@@ -284,7 +284,7 @@ BOOL bit_isAppStoreReceiptSandbox(void) {
}
BOOL bit_hasEmbeddedMobileProvision(void) {
BOOL hasEmbeddedMobileProvision = [[NSBundle mainBundle] pathForResource:@"embedded" ofType:@"mobileprovision"];
BOOL hasEmbeddedMobileProvision = !![[NSBundle mainBundle] pathForResource:@"embedded" ofType:@"mobileprovision"];
return hasEmbeddedMobileProvision;
}