Re: CFBridgingRetain and Xcode 7's -Wcast-qual
Re: CFBridgingRetain and Xcode 7's -Wcast-qual
- Subject: Re: CFBridgingRetain and Xcode 7's -Wcast-qual
- From: Jens Alfke <email@hidden>
- Date: Fri, 12 Jun 2015 13:38:02 -0700
On Jun 12, 2015, at 12:30 PM, Sean McBride < email@hidden> wrote:
But now it warns: "Cast from 'const void *' to 'void *' drops const qualifier" because IOServiceAddMatchingNotification wants a void* but CFBridgingRetain returns a const void*.
Any clever solutions here?
(void*)CFBridgingRetain(self)
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden