From 32d48ac92684ab7011bd4c7c9f33eecb3deffdf4 Mon Sep 17 00:00:00 2001
From: sqozz <sqozz-git@geekify.de>
Date: Mon, 16 Sep 2024 21:47:34 +0200
Subject: [PATCH] Fix log message parameter type

---
 tw7100.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tw7100.cpp b/tw7100.cpp
index 8ccb3cc..27c1219 100644
--- a/tw7100.cpp
+++ b/tw7100.cpp
@@ -207,7 +207,7 @@ void tw7100Component::update_sensor(std::pair<std::string, std::string> data) {
     do {
       first_token_end = unparsed_result.find(" ");
       second_token_end = unparsed_result.find(" ", first_token_end+1);
-      ESP_LOGV(TAG, "first_token_end: %i, second_token_end: %i, unparsed_result.length(): %i", first_token_end, second_token_end, unparsed_result.length() );
+      ESP_LOGV(TAG, "first_token_end: %i, second_token_end: %i, unparsed_result.length(): %li", first_token_end, second_token_end, unparsed_result.length() );
 
       std::string key_string = unparsed_result.substr(0, first_token_end);
       std::string value = unparsed_result.substr(first_token_end+1, second_token_end-first_token_end-1);