From c6035b15d79e91cc79319942f789c63dff5f06c6 Mon Sep 17 00:00:00 2001 From: Bogdan Pilyugin Date: Fri, 16 Jun 2023 16:33:29 +0200 Subject: [PATCH] http server debug print idf5 fix --- src/HTTPServer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTTPServer.c b/src/HTTPServer.c index 0a155aa..0110b82 100644 --- a/src/HTTPServer.c +++ b/src/HTTPServer.c @@ -440,7 +440,7 @@ static esp_err_t GETHandler(httpd_req_t *req) while (bufSize > 0); #if HTTP_SERVER_DEBUG_LEVEL > 0 - ESP_LOGI(TAG, "File sending complete, read from file %d", readBytes); + ESP_LOGI(TAG, "File sending complete, read from file %d", (int)readBytes); #endif /* Respond with an empty chunk to signal HTTP response completion */