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 authored and pull[bot] committed Feb 13, 2024
1 parent e76ca71 commit 7642532
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 7642532

Please sign in to comment.