From 4c5f5965335a9acb34a1297e27f08ece96da873d Mon Sep 17 00:00:00 2001 From: "C.W. Betts" Date: Sat, 10 Aug 2019 00:43:30 -0600 Subject: [PATCH] Update CSMachine.mm No need to create a temporary NSNumber object to be passed to a variadic method. --- OSBindings/Mac/Clock Signal/Machine/CSMachine.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OSBindings/Mac/Clock Signal/Machine/CSMachine.mm b/OSBindings/Mac/Clock Signal/Machine/CSMachine.mm index 9f9280e12..87ac39456 100644 --- a/OSBindings/Mac/Clock Signal/Machine/CSMachine.mm +++ b/OSBindings/Mac/Clock Signal/Machine/CSMachine.mm @@ -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