X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/9951872c6c46881c8b414bcd04a18320c457b811..71f094bad8c68b2a3d096b436dc74cf4d9e2895a:/dnswin.pas?ds=inline diff --git a/dnswin.pas b/dnswin.pas index 1f6263d..5e85f70 100644 --- a/dnswin.pas +++ b/dnswin.pas @@ -113,7 +113,7 @@ begin getmem(output.ai_addr,sizeof(tlinetsockaddr4)); if servname <> nil then output.ai_addr.InAddr.port := htons(strtoint(servname)) else output.ai_addr.InAddr.port := 0; output.ai_addr.InAddr.addr := longint(addrlist^^); - inc(integer(addrlist),4); + inc(taddrint(addrlist),4); output.ai_flags := 0; output.ai_family := af_inet; output.ai_socktype := 0;