diff options
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r-- | src/or/eventdns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c index 354d60ee03..ba0f7a7d11 100644 --- a/src/or/eventdns.c +++ b/src/or/eventdns.c @@ -2178,7 +2178,7 @@ _evdns_nameserver_add_impl(const struct sockaddr *address, server = server->next; } while (server != started_at); } - if (addrlen > sizeof(ns->address)) { + if (addrlen > (int)sizeof(ns->address)) { return 2; } |