From 80ca12d08651087b5f7c924ef99f7e9390c0e6e6 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Fri, 13 Mar 2015 00:56:25 +0100 Subject: [PATCH] (Apple) CFBridgingRetainStringRef - fix warning --- apple/common/CFExtensions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple/common/CFExtensions.m b/apple/common/CFExtensions.m index 69f507a788..99c9fc1e17 100644 --- a/apple/common/CFExtensions.m +++ b/apple/common/CFExtensions.m @@ -46,7 +46,7 @@ NS_INLINE CF_RETURNS_RETAINED CFStringRef CFBridgingRetainStringRefCompat(id X) #if __has_feature(objc_arc) return (__bridge_retained CFStringRef)X; #else - return X; + return (CFStringRef)X; #endif }