Skip to content

Commit

Permalink
tv-casting-app fixed 32-bit vs 64-bit formatting issue (#34866)
Browse files Browse the repository at this point in the history
* tv-casting-app fixed 32-bit vs 64-bit formatting issue

* Apply suggestions from code review

Co-authored-by: Kiel Oleson <[email protected]>

* Restyled by clang-format

---------

Co-authored-by: Justin Wood <[email protected]>
Co-authored-by: Kiel Oleson <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
4 people authored and pull[bot] committed Nov 7, 2024
1 parent fc50fbb commit d784cf6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ CHIP_ERROR CastingPlayerDiscovery::StartDiscovery(uint32_t deviceTypeFilter)

CHIP_ERROR CastingPlayerDiscovery::StopDiscovery()
{
ChipLogProgress(Discovery, "CastingPlayerDiscovery::StopDiscovery() mCastingPlayers: %lu, mCastingPlayersInternal: %lu",
mCastingPlayers.size(), mCastingPlayersInternal.size());
ChipLogProgress(Discovery, "CastingPlayerDiscovery::StopDiscovery() mCastingPlayers: %u, mCastingPlayersInternal: %u",
static_cast<unsigned int> mCastingPlayers.size(), static_cast<unsigned int> mCastingPlayersInternal.size());
VerifyOrReturnError(mState == DISCOVERY_RUNNING, CHIP_ERROR_INCORRECT_STATE);
ReturnErrorOnFailure(mCommissionableNodeController.StopDiscovery());

Expand All @@ -80,8 +80,8 @@ CHIP_ERROR CastingPlayerDiscovery::StopDiscovery()

void CastingPlayerDiscovery::ClearDisconnectedCastingPlayersInternal()
{
ChipLogProgress(Discovery, "CastingPlayerDiscovery::ClearDisconnectedCastingPlayersInternal() mCastingPlayersInternal: %lu",
mCastingPlayersInternal.size());
ChipLogProgress(Discovery, "CastingPlayerDiscovery::ClearDisconnectedCastingPlayersInternal() mCastingPlayersInternal: %u",
static_cast<unsigned int> mCastingPlayersInternal.size());
// Only clear the CastingPlayers in mCastingPlayersInternal with ConnectionState == CASTING_PLAYER_NOT_CONNECTED
for (auto it = mCastingPlayersInternal.begin(); it != mCastingPlayersInternal.end();)
{
Expand Down

0 comments on commit d784cf6

Please sign in to comment.