Fix Win64 compilation.
This commit is contained in:
parent
4f94cd107e
commit
d3e8005662
|
@ -433,7 +433,7 @@ final class WinAPIEventDriverDNS : EventDriverDNS {
|
||||||
size_t naddr = 0;
|
size_t naddr = 0;
|
||||||
while (results) {
|
while (results) {
|
||||||
RefAddress addr = addr_storage[naddr];
|
RefAddress addr = addr_storage[naddr];
|
||||||
addr.set(results.ai_addr, results.ai_addrlen);
|
addr.set(results.ai_addr, cast(socklen_t)results.ai_addrlen);
|
||||||
buf[naddr++] = addr;
|
buf[naddr++] = addr;
|
||||||
results = results.ai_next;
|
results = results.ai_next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue