From a02708da02d8814daccab80e521f9bef8955ef5c Mon Sep 17 00:00:00 2001
From: Oliver Kleinecke <okleinecke@web.de>
Date: Mon, 3 Feb 2025 12:27:11 +0100
Subject: [PATCH] Update esphome/components/mcp4461/mcp4461.cpp

Co-authored-by: Djordje Mandic <6750655+DjordjeMandic@users.noreply.github.com>
---
 esphome/components/mcp4461/mcp4461.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/esphome/components/mcp4461/mcp4461.cpp b/esphome/components/mcp4461/mcp4461.cpp
index 7efafb4b78..96b32a751b 100644
--- a/esphome/components/mcp4461/mcp4461.cpp
+++ b/esphome/components/mcp4461/mcp4461.cpp
@@ -142,7 +142,7 @@ void Mcp4461Component::update_wiper_level(uint8_t wiper) {
 }
 
 void Mcp4461Component::set_wiper_level(uint8_t wiper, uint16_t value) {
-  ESP_LOGV(TAG, "Setting MCP4461 wiper %d to %d!", wiper, value);
+  ESP_LOGV(TAG, "Setting MCP4461 wiper %" PRIu8 " to %" PRIu16 "!", wiper, value);
   this->reg_[wiper].state = value;
   this->update_ = true;
 }