aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-08 06:37:50 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-08 06:37:50 +0000
commit8f37357193399050763ea5093419631d5c5f34e3 (patch)
tree9e5a60d76135fbb292ae0e055501e875683d597d /src/or/rendservice.c
parentf50ddfd4dd4cc52eddf7ca1ba2ae96798fc516fb (diff)
downloadtor-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.c2
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;
}