mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 23:21:54 +00:00 
			
		
		
		
	Fix format string warnings in Web Server OTA component (#9569)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		| @@ -152,7 +152,7 @@ void OTARequestHandler::handleUpload(AsyncWebServerRequest *request, const Strin | |||||||
|  |  | ||||||
|   // Finalize |   // Finalize | ||||||
|   if (final) { |   if (final) { | ||||||
|     ESP_LOGD(TAG, "OTA final chunk: index=%u, len=%u, total_read=%u, contentLength=%u", index, len, |     ESP_LOGD(TAG, "OTA final chunk: index=%zu, len=%zu, total_read=%u, contentLength=%zu", index, len, | ||||||
|              this->ota_read_length_, request->contentLength()); |              this->ota_read_length_, request->contentLength()); | ||||||
|  |  | ||||||
|     // For Arduino framework, the Update library tracks expected size from firmware header |     // For Arduino framework, the Update library tracks expected size from firmware header | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user