This repository was archived by the owner on Mar 5, 2026. It is now read-only.
Commit 525b594
Explicitly type cast to uint32_t to avoid ambiguity
.piolibdeps/esp32-test/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp: In member function 'IPAddress AsyncWebSocketClient::remoteIP()':
.piolibdeps/esp32-test/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:832:29: error: call of overloaded 'IPAddress(long unsigned int)' is ambiguous
return IPAddress(0UL);
^
In file included from /root/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:163,
from .piolibdeps/esp32-test/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:21:
/root/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
IPAddress(const uint8_t *address);
^~~~~~~~~
/root/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
^~~~~~~~~1 parent 22ed549 commit 525b594
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
834 | | - | |
| 834 | + | |
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
| |||
0 commit comments