From 13760218883d8d53cde8677d8cdbcc5d724428d2 Mon Sep 17 00:00:00 2001 From: Andrei Litvin <andy314@gmail.com> Date: Mon, 20 Mar 2023 10:04:28 -0400 Subject: [PATCH] Fix android build error (#25749) --- .../tv-casting-app/tv-casting-common/src/CastingServer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp b/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp index 0b6e56fce72b77..80654c818bece7 100644 --- a/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp +++ b/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp @@ -153,7 +153,8 @@ chip::Inet::IPAddress * CastingServer::getIpAddressForUDCRequest(chip::Inet::IPA if (ipAddresses[i].IsIPv4()) { ipIndexToUse = i; - ChipLogProgress(AppServer, "Found IPv4 address at index: %lu - prioritizing use of IPv4", ipIndexToUse); + ChipLogProgress(AppServer, "Found IPv4 address at index: %lu - prioritizing use of IPv4", + static_cast<long>(ipIndexToUse)); break; }