Skip to content

Commit d2c4bef

Browse files
committed
user crc32 string
1 parent 58f3f93 commit d2c4bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QiniuSDK/Storage/QNUploadManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ - (void)putData:(NSData *)data
8282
}
8383

8484
if (option && option.checkCrc) {
85-
parameters[@"crc32"] = [NSNumber numberWithUnsignedLong:[QNCrc32 data:data]];
85+
parameters[@"crc32"] = [NSString stringWithFormat:@"%u", (unsigned int)[QNCrc32 data:data]];
8686
}
8787

8888
QNInternalProgressBlock p = nil;

0 commit comments

Comments
 (0)