From 7b290108e8984f169d1ee4e814ab99ce43ddc8e2 Mon Sep 17 00:00:00 2001 From: Hari Nair Date: Tue, 26 Apr 2022 09:01:21 +0530 Subject: [PATCH] Update AsyncWebSocket.cpp Fix compile error for ESP32-C3 toolchain ( ambiguous type) --- src/AsyncWebSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncWebSocket.cpp b/src/AsyncWebSocket.cpp index f76f2fc96..5d363dae5 100644 --- a/src/AsyncWebSocket.cpp +++ b/src/AsyncWebSocket.cpp @@ -829,7 +829,7 @@ void AsyncWebSocketClient::binary(AsyncWebSocketMessageBuffer * buffer) IPAddress AsyncWebSocketClient::remoteIP() { if(!_client) { - return IPAddress(0U); + return IPAddress((uint32_t)0); } return _client->remoteIP(); }