mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Clean up remaining non-LeaMDNS diffs from gcc4.8 to gcc7.2 (#6279)
With this change plus the leamdns change, the core will compile unmodified on GCC 4.8 and GCC 7.2, making keeping the two in sync for 3.0 much easier.
This commit is contained in:
committed by
GitHub
parent
48ace77b48
commit
7c6701512f
@ -156,7 +156,7 @@ bool ESP8266NetBIOS::begin(const char *name)
|
||||
}
|
||||
_pcb = udp_new();
|
||||
udp_recv(_pcb, &_s_recv, (void *) this);
|
||||
err_t err = udp_bind(_pcb, INADDR_ANY, NBNS_PORT);
|
||||
err_t err = udp_bind(_pcb, (ip_addr_t*)INADDR_ANY, NBNS_PORT);
|
||||
if(err != ERR_OK) {
|
||||
end();
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user