Skip to content

Commit 5da87c2

Browse files
Testing CI
1 parent f48a4a8 commit 5da87c2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/darwin/Framework/CHIP/MTRDevice.mm

+2-2
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ - (void)_handleEventReport:(NSArray<NSDictionary<NSString *, id> *> *)eventRepor
939939
}
940940
}
941941
}
942-
MTR_LOG_INFO("%@ _getCachedDataVersions dataVersions count: %lu readCache count: %lu", self, static_cast<unsigned long>(dataVersions.count), static_cast<unsigned long>(_readCache.count));
942+
MTR_LOG_INFO("%@ _getCachedDataVersions dataVersions count: %lu readCache count: %lu", self, dataVersions.count, _readCache.count);
943943
os_unfair_lock_unlock(&self->_lock);
944944

945945
return dataVersions;
@@ -1996,7 +1996,7 @@ - (NSArray *)_getAttributesToReportWithReportedValues:(NSArray<NSDictionary<NSSt
19961996

19971997
- (void)setAttributeValues:(NSArray<NSDictionary *> *)attributeValues reportChanges:(BOOL)reportChanges
19981998
{
1999-
MTR_LOG_INFO("%@ setAttributeValues count: %lu reportChanges: %d", self, static_cast<unsigned long>(attributeValues.count), reportChanges);
1999+
MTR_LOG_INFO("%@ setAttributeValues count: %lu reportChanges: %d", self, attributeValues.count, reportChanges);
20002000
os_unfair_lock_lock(&self->_lock);
20012001

20022002
if (reportChanges) {

src/darwin/Framework/CHIP/MTRDeviceController.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ - (MTRDevice *)deviceForNodeID:(NSNumber *)nodeID
887887

888888
// Load persisted attributes if they exist.
889889
NSArray * attributesFromCache = [_controllerDataStore getStoredAttributesForNodeID:nodeID];
890-
MTR_LOG_INFO("Loaded %lu attributes from storage for %@", static_cast<unsigned long>(attributesFromCache.count), deviceToReturn);
890+
MTR_LOG_INFO("Loaded %lu attributes from storage for %@", attributesFromCache.count, deviceToReturn);
891891
if (attributesFromCache.count) {
892892
[deviceToReturn setAttributeValues:attributesFromCache reportChanges:NO];
893893
}

0 commit comments

Comments
 (0)