Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit a4c8154

Browse files
authored
Merge pull request #507 from daniel-beard/dbeard_fix_implicit_conversion_warning
Fix implicit conversion warning
2 parents 5ebfdf7 + b9e3568 commit a4c8154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/CodePush/CodePushUpdateUtils.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ + (NSString *)computeFinalHashFromManifest:(NSMutableArray *)manifest
7878
+ (NSString *)computeHashForData:(NSData *)inputData
7979
{
8080
uint8_t digest[CC_SHA256_DIGEST_LENGTH];
81-
CC_SHA256(inputData.bytes, inputData.length, digest);
81+
CC_SHA256(inputData.bytes, (CC_LONG)inputData.length, digest);
8282
NSMutableString* inputHash = [NSMutableString stringWithCapacity:CC_SHA256_DIGEST_LENGTH * 2];
8383
for (int i = 0; i < CC_SHA256_DIGEST_LENGTH; i++) {
8484
[inputHash appendFormat:@"%02x", digest[i]];

0 commit comments

Comments
 (0)