1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Update CSMachine.mm

No need to create a temporary NSNumber object to be passed to a variadic method.
This commit is contained in:
C.W. Betts 2019-08-10 00:43:30 -06:00 committed by GitHub
parent 4859d3781b
commit 4c5f596533
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ struct ActivityObserver: public Activity::Observer {
}
- (NSString *)description {
return [NSString stringWithFormat:@"%@/%@, %@ bytes, CRCs: %@", _fileName, _descriptiveName, @(_size), _crc32s];
return [NSString stringWithFormat:@"%@/%@, %lu bytes, CRCs: %@", _fileName, _descriptiveName, (unsigned long)_size, _crc32s];
}
@end