Skip to content

Commit 1648cab

Browse files
committed
Found more static cast misses
1 parent 48f3020 commit 1648cab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/darwin/Framework/CHIP/MTRBaseDevice.mm

+2-2
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ - (void)invalidateCASESession
283283
ErrorCallback errorCallback, MTRDeviceResubscriptionScheduledHandler _Nullable resubscriptionScheduledHandler,
284284
MTRSubscriptionEstablishedHandler _Nullable subscriptionEstablishedHandler, OnDoneHandler _Nullable onDoneHandler)
285285
: MTRBaseSubscriptionCallback(attributeReportCallback, eventReportCallback, errorCallback, resubscriptionScheduledHandler,
286-
subscriptionEstablishedHandler, onDoneHandler)
286+
subscriptionEstablishedHandler, onDoneHandler)
287287
{
288288
}
289289

@@ -571,7 +571,7 @@ - (void)subscribeWithQueue:(dispatch_queue_t)queue
571571
return _MakeDataValueDictionary(typeName, array, dataVersion);
572572
}
573573
default:
574-
MTR_LOG_ERROR("Error: Unsupported TLV type for conversion: %u", (unsigned) data->GetType());
574+
MTR_LOG_ERROR("Error: Unsupported TLV type for conversion: %u", static_cast<unsigned> data->GetType());
575575
return nil;
576576
}
577577
}

0 commit comments

Comments
 (0)