Skip to content

Commit

Permalink
Merge pull request #7 from sbl/patch-1
Browse files Browse the repository at this point in the history
fix precision conversion warning
  • Loading branch information
lilfaf committed Nov 29, 2013
2 parents f78aade + 8e87033 commit 2545651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YTVimeoExtractor/YTVimeoExtractor.m
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ -(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLRespons
[connection cancel];
}

NSUInteger capacity = (response.expectedContentLength != NSURLResponseUnknownLength) ? response.expectedContentLength : 0;
NSUInteger capacity = (response.expectedContentLength != NSURLResponseUnknownLength) ? (uint)response.expectedContentLength : 0;
self.buffer = [[NSMutableData alloc] initWithCapacity:capacity];
}

Expand Down

0 comments on commit 2545651

Please sign in to comment.