[v9_9] silence win32 warnings

This commit is contained in:
Evan Hunt
2014-06-20 14:15:37 -07:00
parent ed87392e88
commit 885aadc12e
+3 -2
View File
@@ -3966,8 +3966,9 @@ adjustsrtt(dns_adbaddrinfo_t *addr, unsigned int rtt, unsigned int factor,
new_srtt = (addr->entry->srtt / 10 * factor)
+ (rtt / 10 * (10 - factor));
addr->entry->srtt = new_srtt;
addr->srtt = new_srtt;
new_srtt &= 0xffffffff;
addr->entry->srtt = (unsigned int) new_srtt;
addr->srtt = (unsigned int) new_srtt;
if (addr->entry->expires == 0)
addr->entry->expires = now + ADB_ENTRY_WINDOW;