From ad72d5a96afedf2f7796c5d9c6fca8fa36d4a001 Mon Sep 17 00:00:00 2001 From: Georgi Filipov Date: Mon, 27 Jan 2025 13:48:14 +0200 Subject: [PATCH] use format specifier macros PRId32 --- esphome/components/samsung/samsung.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/samsung/samsung.cpp b/esphome/components/samsung/samsung.cpp index 35ba6e9320..9d0ee161a3 100644 --- a/esphome/components/samsung/samsung.cpp +++ b/esphome/components/samsung/samsung.cpp @@ -32,7 +32,7 @@ bool SamsungClimate::on_receive(remote_base::RemoteReceiveData data) { return false; } - ESP_LOGD(TAG, "Received Samsung A/C message size %" PRIu8, data.size()); + ESP_LOGD(TAG, "Received Samsung A/C message size %" PRId32, data.size()); for (uint8_t i = 0; i < 14; i++) { if (i == 7) { if (data.expect_item(SAMSUNG_AIRCON1_BIT_MARK, SAMSUNG_AIRCON1_MSG_SPACE)) {