diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-08 06:37:50 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-08 06:37:50 +0000 |
commit | 8f37357193399050763ea5093419631d5c5f34e3 (patch) | |
tree | 9e5a60d76135fbb292ae0e055501e875683d597d /src/or/rendservice.c | |
parent | f50ddfd4dd4cc52eddf7ca1ba2ae96798fc516fb (diff) | |
download | tor-8f37357193399050763ea5093419631d5c5f34e3.tar tor-8f37357193399050763ea5093419631d5c5f34e3.tar.gz |
Make GCC v4 happy with heavy warnings enabled.
svn:r4922
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index c2e7e2180..ce3da6354 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -469,7 +469,7 @@ rend_service_introduce(circuit_t *circuit, const char *request, size_t request_l extend_info->identity_digest, DIGEST_LEN); klen = ntohs(get_uint16(buf+7+DIGEST_LEN)); - if (len != 7+DIGEST_LEN+2+klen+20+128) { + if ((int)len != 7+DIGEST_LEN+2+klen+20+128) { log_fn(LOG_WARN, "Bad length %u for version 2 INTRODUCE2 cell.", (int)len); goto err; } |