summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/control.c')
-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 8f4594145f..f5ab9570a7 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)) {