diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-05-07 05:55:06 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-05-07 05:55:06 +0000 |
commit | 10b2208d9386972b76f10c2557562b5912dd130e (patch) | |
tree | 007a393aff385b1cbe47ffdc4d377edb5dac9898 /src/or/routerparse.c | |
parent | 6567ec9ccf108ac2b51da77fff5e00b722640765 (diff) | |
download | tor-10b2208d9386972b76f10c2557562b5912dd130e.tar.gz tor-10b2208d9386972b76f10c2557562b5912dd130e.zip |
Make Tor compile with no warnings with gcc4.0 on OSX
svn:r4184
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index d68ff087ab..87e2a06980 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -930,7 +930,7 @@ routerinfo_t *router_parse_entry_from_string(const char *s, } if (crypto_pk_keysize(tok->key) != PK_BYTES) { log_fn(LOG_WARN, "Wrong size on onion key: %d bits!", - crypto_pk_keysize(tok->key)*8); + (int)crypto_pk_keysize(tok->key)*8); goto err; } router->onion_pkey = tok->key; @@ -941,7 +941,7 @@ routerinfo_t *router_parse_entry_from_string(const char *s, } if (crypto_pk_keysize(tok->key) != PK_BYTES) { log_fn(LOG_WARN, "Wrong size on identity key: %d bits!", - crypto_pk_keysize(tok->key)*8); + (int)crypto_pk_keysize(tok->key)*8); goto err; } router->identity_pkey = tok->key; |