Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Commit

Permalink
Fixed warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikDemyankov committed Jun 2, 2016
1 parent 6225b15 commit 9f1df5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/Utils/NSData+HCPMD5.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ - (NSString *)md5 {
unsigned char md5Buffer[CC_MD5_DIGEST_LENGTH];

// Create 16 byte MD5 hash value, store in buffer
CC_MD5(self.bytes, self.length, md5Buffer);
CC_MD5(self.bytes, (unsigned int)self.length, md5Buffer);

// Convert unsigned char buffer to NSString of hex values
NSMutableString *output = [NSMutableString stringWithCapacity:CC_MD5_DIGEST_LENGTH * 2];
Expand Down

0 comments on commit 9f1df5f

Please sign in to comment.