diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-09-04 21:58:09 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-09-04 21:58:09 +0000 |
commit | c33dde4ac1dd8ec376d5ee2d5f0544b45b1484e4 (patch) | |
tree | 557afcd448902108efb75ee9ed4408d1408d87fc /src/or/eventdns.c | |
parent | fa2f72ded752689fc0ece225b9d8279ddd13b88d (diff) | |
download | tor-c33dde4ac1dd8ec376d5ee2d5f0544b45b1484e4.tar.gz tor-c33dde4ac1dd8ec376d5ee2d5f0544b45b1484e4.zip |
Fix mingw build with --enable-gcc-warnings set.
svn:r16759
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; } |