aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-10-14 02:47:09 +0000
committerRoger Dingledine <arma@torproject.org>2004-10-14 02:47:09 +0000
commitaebc3a03ba6eea02f4d50fa4bd5dbf49cd37a0c7 (patch)
treebd0b81c8f1021d0b8150cd32ba41b4c6c5489e78 /src/or/dirserv.c
parent92bb360ad771a4cba21f1e4a77e367f973e546ef (diff)
downloadtor-aebc3a03ba6eea02f4d50fa4bd5dbf49cd37a0c7.tar
tor-aebc3a03ba6eea02f4d50fa4bd5dbf49cd37a0c7.tar.gz
more int to size_t conversions, fixing one or more amd64 bugs
plus a whitespace patch on config.c from vicman svn:r2482
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 8afc18a16..dcfa207d0 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -468,7 +468,7 @@ list_running_servers(char **nicknames_out)
connection_t *conn;
char *cp;
int i;
- int length;
+ size_t length;
smartlist_t *nicknames_up, *nicknames_down;
char *name;
const char *s;
@@ -554,7 +554,7 @@ dirserv_remove_old_servers(int age)
* failure.
*/
int
-dirserv_dump_directory_to_string(char *s, unsigned int maxlen,
+dirserv_dump_directory_to_string(char *s, size_t maxlen,
crypto_pk_env_t *private_key)
{
char *cp, *eos;