Skip to content

Commit

Permalink
fix casting
Browse files Browse the repository at this point in the history
  • Loading branch information
ishkawa committed Mar 9, 2015
1 parent 89dc27f commit 0601c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion APIKit/APIKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private extension NSURLSessionDataTask {

private var completionHandler: ((NSData, NSURLResponse?, NSError?) -> Void)? {
get {
return (objc_getAssociatedObject(self, &dataTaskCompletionHandlerKey) as? Box<(NSData?, NSURLResponse?, NSError?) -> Void>)?.unbox
return (objc_getAssociatedObject(self, &dataTaskCompletionHandlerKey) as? Box<(NSData, NSURLResponse?, NSError?) -> Void>)?.unbox
}

set {
Expand Down

0 comments on commit 0601c73

Please sign in to comment.