From afbbf372bbb71b522705438a8b152d4f3bd42889 Mon Sep 17 00:00:00 2001 From: pablo2048 Date: Sat, 1 Oct 2022 15:41:48 +0200 Subject: [PATCH] Kompatibilita s ESP32C3. --- src/AsyncWebSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncWebSocket.cpp b/src/AsyncWebSocket.cpp index 12be5f8..8505f73 100644 --- a/src/AsyncWebSocket.cpp +++ b/src/AsyncWebSocket.cpp @@ -737,7 +737,7 @@ void AsyncWebSocketClient::binary(const __FlashStringHelper *data, size_t len) IPAddress AsyncWebSocketClient::remoteIP() const { if (!_client) - return IPAddress(0U); + return IPAddress((uint32_t)0); return _client->remoteIP(); }