Browse Source

resolve a 64-bit warning

svn:r2750
Roger Dingledine 19 years ago
parent
commit
3ce3d6eead
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/routerlist.c

+ 1 - 1
src/or/routerlist.c

@@ -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);