Skip to content

Commit

Permalink
Merge pull request #65 from sowmiya/lintError
Browse files Browse the repository at this point in the history
Fixing implicit conversion warning during podspec linting
  • Loading branch information
sowmiya committed Aug 18, 2015
2 parents 970d536 + 478c773 commit 06fd434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BoxContentSDK/BoxContentSDKTests/ALAssetRepresentationMock.m
Expand Up @@ -18,9 +18,9 @@ - (long long)size
- (NSUInteger)getBytes:(uint8_t *)buffer fromOffset:(long long)offset length:(NSUInteger)length error:(NSError *__autoreleasing *)error
{
if (offset + length > self.size) {
length = self.size - offset;
length = (NSUInteger)(self.size - offset);
}
NSRange range = NSMakeRange(offset, length);
NSRange range = NSMakeRange((NSUInteger)offset, length);
[self.data getBytes:buffer range:range];
return length;
}
Expand Down

0 comments on commit 06fd434

Please sign in to comment.