From 8b3f020dbadd8eb31e1b4d9d0f0aec605dad6409 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 30 Jan 2026 21:48:21 -0600 Subject: [PATCH] Update esphome/core/progmem.h Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- esphome/core/progmem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/core/progmem.h b/esphome/core/progmem.h index e95bed8130..0867268205 100644 --- a/esphome/core/progmem.h +++ b/esphome/core/progmem.h @@ -80,7 +80,7 @@ template struct ProgmemStringTable { static_assert(BLOB_SIZE <= 255, "PROGMEM_STRING_TABLE blob exceeds 255 bytes; use fewer/shorter strings"); std::array result{}; size_t pos = 0, idx = 0; - ((result[idx++] = pos, pos += Strs.size() + 1), ...); + ((result[idx++] = static_cast(pos), pos += Strs.size() + 1), ...); return result; } };