Explorar o código

fix a size_t-to-len compile warning

svn:r8618
Roger Dingledine %!s(int64=19) %!d(string=hai) anos
pai
achega
864069f5c7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/control.c

+ 1 - 1
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)) {