Skip to content

Commit

Permalink
Merge pull request #3 from square/federman/getBytes_length
Browse files Browse the repository at this point in the history
Use getBytes:length:
  • Loading branch information
dfed committed Jun 17, 2015
2 parents 982d8d3 + 73985c2 commit a57ff22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Aardvark.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Aardvark'
s.version = '1.0.0'
s.version = '1.0.1'
s.license = 'Apache'
s.summary = 'Aardvark is a library that makes it dead simple to create actionable bug reports.'
s.homepage = 'https://github.com/square/Aardvark'
Expand Down
2 changes: 1 addition & 1 deletion Categories/NSFileHandle+ARKAdditions.m
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ - (NSUInteger)_ARK_readDataBlockLength;

// The value is stored big-endian in the file.
uint8_t dataBlockLengthBytes[ARKBlockLengthBytes] = { };
[dataBlockLengthData getBytes:&dataBlockLengthBytes];
[dataBlockLengthData getBytes:&dataBlockLengthBytes length:ARKBlockLengthBytes];
return ARKReadBigEndianBlockLength(dataBlockLengthBytes, 0);
}

Expand Down

0 comments on commit a57ff22

Please sign in to comment.