[multiple] Fix -Wformat and -Wextra warnings across 33 component files (#15321)

This commit is contained in:
Jonathan Swoboda authored and GitHub committed 2026-03-30 18:56:05 -04:00
1 parent 58df755d8b
commit 53b2a03c80
33 files changed
+145 -88

No files matched your search

@@ -6,6 +6,8 @@
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
#include <cinttypes>
namespace esphome::runtime_image {
static const char *const TAG = "image_decoder.bmp";
@@ -107,7 +109,7 @@ int HOT BmpDecoder::decode(uint8_t *buffer, size_t size) {
}
if (this->compression_method_ != 0) {
ESP_LOGE(TAG, "Unsupported compression method: %d", this->compression_method_);
ESP_LOGE(TAG, "Unsupported compression method: %" PRIu32, this->compression_method_);
return DECODE_ERROR_UNSUPPORTED_FORMAT;
}