diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-09 11:36:38 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-09 11:36:38 +0000 |
commit | 3ce3d6eeade09286793e590fcc5822b5a6e2c4a3 (patch) | |
tree | 323495b7b9af5482b0268dd9bcbd5f0f508b5e75 /src/or/routerlist.c | |
parent | a6d2bf19c1ec720c3cc4b74ca01d2246c86d6f80 (diff) | |
download | tor-3ce3d6eeade09286793e590fcc5822b5a6e2c4a3.tar.gz tor-3ce3d6eeade09286793e590fcc5822b5a6e2c4a3.zip |
resolve a 64-bit warning
svn:r2750
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index ac62b4528d..f74ac0ae9b 100644 --- a/src/or/routerlist.c +++ b/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); |