1.1 --- a/src/drivers/io_osx.m Wed Oct 07 17:53:56 2009 +1000
1.2 +++ b/src/drivers/io_osx.m Wed Feb 04 08:38:23 2015 +1000
1.4 struct io_osx_cbinfo *next;
1.7 -static struct io_osx_cbinfo *cbinfo_list = NULL;
1.9 void io_unregister_callback( struct io_osx_cbinfo *cbinfo )
1.11 CFRunLoopRemoveSource( CFRunLoopGetCurrent(), cbinfo->sourceRef, kCFRunLoopCommonModes );
1.13 fdContext.version = 0;
1.14 fdContext.retain = NULL;
1.15 fdContext.info = cbinfo;
1.16 - fdContext.release = io_osx_release;
1.17 + fdContext.release = ( void (*)(void *) )io_osx_release;
1.18 fdContext.copyDescription = NULL;
1.20 CFFileDescriptorRef ref = CFFileDescriptorCreate( kCFAllocatorDefault, fd, FALSE,