diff --git a/examples/tv-casting-app/tv-casting-common/support/CastingStore.cpp b/examples/tv-casting-app/tv-casting-common/support/CastingStore.cpp index d8cdfca07ccaed..1bfd75a93a47ca 100644 --- a/examples/tv-casting-app/tv-casting-common/support/CastingStore.cpp +++ b/examples/tv-casting-app/tv-casting-common/support/CastingStore.cpp @@ -333,7 +333,8 @@ CHIP_ERROR CastingStore::WriteAll(std::vector castingPlayer ChipLogProgress(AppServer, "CastingStore::WriteAll TLV(CastingStoreData).LengthWritten: %d bytes, CastingPlayers size: %lu " "and version: %d", - tlvWriter.GetLengthWritten(), castingPlayers.size(), kCurrentCastingStoreDataVersion); + tlvWriter.GetLengthWritten(), static_cast(castingPlayers.size()), + kCurrentCastingStoreDataVersion); return chip::DeviceLayer::PersistedStorage::KeyValueStoreMgr().Put(kCastingStoreDataKey, castingStoreData, tlvWriter.GetLengthWritten()); }