From b5c7019bf0a18e7bff61436d4de777fe4230bfdc Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Tue, 26 Jan 2021 06:37:33 +1100 Subject: [PATCH] Fix compile warnings --- v2/internal/ffenestri/ffenestri_darwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/internal/ffenestri/ffenestri_darwin.c b/v2/internal/ffenestri/ffenestri_darwin.c index 9edc7c07..8e2ee226 100644 --- a/v2/internal/ffenestri/ffenestri_darwin.c +++ b/v2/internal/ffenestri/ffenestri_darwin.c @@ -152,7 +152,7 @@ void Fatal(struct Application *app, const char *message, ... ) { // Requires NSString input EG lookupStringConstant(str("NSFontAttributeName")) void* lookupStringConstant(id constantName) { - void ** dataPtr = CFBundleGetDataPointerForName(CFBundleGetBundleWithIdentifier(str("com.apple.AppKit")), (CFStringRef) constantName); + void ** dataPtr = CFBundleGetDataPointerForName(CFBundleGetBundleWithIdentifier((CFStringRef)str("com.apple.AppKit")), (CFStringRef) constantName); return (dataPtr ? *dataPtr : nil); }