diff --git a/Classes/BITChannel.m b/Classes/BITChannel.m index fcac8489..01e0a721 100644 --- a/Classes/BITChannel.m +++ b/Classes/BITChannel.m @@ -221,8 +221,8 @@ - (void)createBackgroundTaskWhileDataIsSending:(UIApplication *)application backgroundTask = UIBackgroundTaskInvalid; }]; __block NSUInteger i = 0; - __block __weak void (^weakWaitBlock)(); - void (^waitBlock)(); + __block __weak void (^weakWaitBlock)(void); + void (^waitBlock)(void); weakWaitBlock = waitBlock = ^{ if (i < queues.count) { dispatch_queue_t queue = [queues objectAtIndex:i++];