Skip to content

Commit

Permalink
Fix android build: add cast for formatting (#29916)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Oct 23, 2023
1 parent 07310c7 commit 52e4a64
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ CHIP_ERROR CastingStore::WriteAll(std::vector<core::CastingPlayer> 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<unsigned long>(castingPlayers.size()),
kCurrentCastingStoreDataVersion);
return chip::DeviceLayer::PersistedStorage::KeyValueStoreMgr().Put(kCastingStoreDataKey, castingStoreData,
tlvWriter.GetLengthWritten());
}
Expand Down

0 comments on commit 52e4a64

Please sign in to comment.