diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index 998a1101..ce979813 100644 --- a/SUUIBasedUpdateDriver.m +++ b/SUUIBasedUpdateDriver.m @@ -70,7 +70,7 @@ [statusController setMaxProgressValue:[response expectedContentLength]]; } -- (void)download:(NSURLDownload *)download didReceiveDataOfLength:(unsigned)length +- (void)download:(NSURLDownload *)download didReceiveDataOfLength:(NSUInteger)length { [statusController setProgressValue:[statusController progressValue] + length]; [statusController setStatusText:[NSString stringWithFormat:SULocalizedString(@"%@ of %@", nil), [NSNumber humanReadableSizeFromDouble:[statusController progressValue]], [NSNumber humanReadableSizeFromDouble:[statusController maxProgressValue]]]];