Explorar el Código

resolve a 64-bit warning

svn:r2750
Roger Dingledine hace 20 años
padre
commit
3ce3d6eead
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);