[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8618: fix a size_t-to-len compile warning (tor/trunk/src/or)
Author: arma
Date: 2006-10-06 18:37:10 -0400 (Fri, 06 Oct 2006)
New Revision: 8618
Modified:
tor/trunk/src/or/control.c
Log:
fix a size_t-to-len compile warning
Modified: tor/trunk/src/or/control.c
===================================================================
--- tor/trunk/src/or/control.c 2006-10-06 22:35:21 UTC (rev 8617)
+++ tor/trunk/src/or/control.c 2006-10-06 22:37:10 UTC (rev 8618)
@@ -1079,7 +1079,7 @@
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)) {