From 2d047f54399f8e4eb50cd3f50fa9ff4cc70f529f Mon Sep 17 00:00:00 2001 From: Nathan Phillips Date: Fri, 22 Apr 2022 11:30:32 +0100 Subject: [PATCH] Fix type of cast --- components/esp_http_server/src/httpd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_http_server/src/httpd_main.c b/components/esp_http_server/src/httpd_main.c index 6268ca79fe..097a9b4897 100644 --- a/components/esp_http_server/src/httpd_main.c +++ b/components/esp_http_server/src/httpd_main.c @@ -506,7 +506,7 @@ esp_err_t httpd_start(httpd_handle_t *handle, const httpd_config_t *config) return ESP_ERR_HTTPD_TASK; } - *handle = (httpd_handle_t *)hd; + *handle = (httpd_handle_t)hd; return ESP_OK; }