]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
resolve a 64-bit warning
authorRoger Dingledine <arma@torproject.org>
Tue, 9 Nov 2004 11:36:38 +0000 (11:36 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 9 Nov 2004 11:36:38 +0000 (11:36 +0000)
svn:r2750

src/or/routerlist.c

index ac62b4528df7846e91d5289229a5f84b62c7cfff..f74ac0ae9bfb658f085c39a71f30250fa5502811 100644 (file)
@@ -1105,7 +1105,7 @@ int routers_update_status_from_entry(smartlist_t *routers,
     /* 'end' now points on character beyond the end of the nickname */
     if (end == cp || end-cp > MAX_NICKNAME_LEN) {
       log_fn(LOG_WARN, "Bad nickname length (%d) in router status entry (%s)",
-             end-cp, s);
+             (int)(end-cp), s);
       return -1;
     }
     memcpy(nickname, cp, end-cp);