replace internal uses of gettimeofday with monotonic time where appropriate. make...
[lcore.git] / dnswin.pas
index 1f6263df3f42e7ad4d89f60afe993bfd48cc444f..5e85f7043b5b612320dda1463f253bee44665467 100644 (file)
@@ -113,7 +113,7 @@ begin
       getmem(output.ai_addr,sizeof(tlinetsockaddr4));\r
       if servname <> nil then output.ai_addr.InAddr.port := htons(strtoint(servname)) else output.ai_addr.InAddr.port := 0;\r
       output.ai_addr.InAddr.addr := longint(addrlist^^);\r
-      inc(integer(addrlist),4);\r
+      inc(taddrint(addrlist),4);\r
       output.ai_flags := 0;\r
       output.ai_family := af_inet;\r
       output.ai_socktype := 0;\r