From 7446c87267e0fa91aad989ea33507f42f0365d4f Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 7 Oct 2025 16:58:19 -0500 Subject: [PATCH] tidy --- esphome/components/mdns/mdns_esp8266.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/mdns/mdns_esp8266.cpp b/esphome/components/mdns/mdns_esp8266.cpp index 88b4c89505..f1c8909807 100644 --- a/esphome/components/mdns/mdns_esp8266.cpp +++ b/esphome/components/mdns/mdns_esp8266.cpp @@ -22,11 +22,11 @@ void MDNSComponent::setup() { // expects the underscore to be there, the ESP8266 implementation always adds // the underscore itself. auto *proto = MDNS_STR_ARG(service.proto); - while (progmem_read_byte(proto) == '_') { + while (progmem_read_byte((const uint8_t *) proto) == '_') { proto++; } auto *service_type = MDNS_STR_ARG(service.service_type); - while (progmem_read_byte(service_type) == '_') { + while (progmem_read_byte((const uint8_t *) service_type) == '_') { service_type++; } uint16_t port = const_cast &>(service.port).value();