aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-10-06 22:37:10 +0000
committerRoger Dingledine <arma@torproject.org>2006-10-06 22:37:10 +0000
commit864069f5c754f291c1c4ce63a7f9dc2bc31d4afe (patch)
treed5e81b3f0b2e6ff7f54c6d5afb2144ab6516b007 /src
parent09a2ec0192338fff8e75d03558e3ed8150d9444e (diff)
downloadtor-864069f5c754f291c1c4ce63a7f9dc2bc31d4afe.tar
tor-864069f5c754f291c1c4ce63a7f9dc2bc31d4afe.tar.gz
fix a size_t-to-len compile warning
svn:r8618
Diffstat (limited to 'src')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 8f4594145..f5ab9570a 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1079,7 +1079,7 @@ handle_control_authenticate(control_connection_t *conn, uint32_t len,
if (options->CookieAuthentication) {
if (password_len != AUTHENTICATION_COOKIE_LEN) {
log_warn(LD_CONTROL, "Got authentication cookie with wrong length (%d)",
- password_len);
+ (int)password_len);
errstr = "Wrong length on authentication cookie.";
goto err;
} else if (memcmp(authentication_cookie, password, password_len)) {