1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-09 05:25:01 +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

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