diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-01-14 04:03:24 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-01-14 04:03:24 +0000 |
commit | 2aaf71826d21bdc2700514f35af682aba767a181 (patch) | |
tree | 8f17d5950a508ccb1a0e2412d63cc21aba9c76b0 /src/or/eventdns.c | |
parent | 42c824b4057ebf7885fc51e7ca93dc3ac92892bc (diff) | |
download | tor-2aaf71826d21bdc2700514f35af682aba767a181.tar.gz tor-2aaf71826d21bdc2700514f35af682aba767a181.zip |
Fix a compile warning on win32.
svn:r18099
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 6e4e5e25b4..005abc4425 100644 --- a/src/or/eventdns.c +++ b/src/or/eventdns.c @@ -2212,7 +2212,7 @@ evdns_set_default_outgoing_bind_address(const struct sockaddr *addr, { memset(&global_bind_address, 0, sizeof(global_bind_address)); if (addr) { - assert(addrlen <= sizeof(global_bind_address)); + assert(addrlen <= (socklen_t)sizeof(global_bind_address)); memcpy(&global_bind_address, addr, addrlen); global_bind_addrlen = addrlen; global_bind_addr_is_set = 1; |