diff options
author | Roger Dingledine <arma@torproject.org> | 2007-11-01 13:48:12 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-11-01 13:48:12 +0000 |
commit | e5ec8248e8f61ad24c3d30010376e1ca42244ea5 (patch) | |
tree | ca168e285cced2d92b24f7b7bc9e6d601931491e /src/or/rendcommon.c | |
parent | 4ead38a4e9763fde6fad703800bf4d1025a542dc (diff) | |
download | tor-e5ec8248e8f61ad24c3d30010376e1ca42244ea5.tar.gz tor-e5ec8248e8f61ad24c3d30010376e1ca42244ea5.zip |
make r12272 compile on 64-bit
svn:r12315
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index 535a212365..b0d4b2dd6e 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -1032,7 +1032,7 @@ rend_cache_store_v2_desc_as_dir(const char *desc) e->desc = tor_strndup(current_desc, encoded_size); e->len = encoded_size; log_info(LD_REND, "Successfully stored service descriptor with desc ID " - "'%s' and len %d.", desc_id_base32, encoded_size); + "'%s' and len %d.", desc_id_base32, (int)encoded_size); number_stored++; goto advance; skip: @@ -1150,7 +1150,7 @@ rend_cache_store_v2_desc_as_client(const char *desc, strlcpy(e->desc, desc, encoded_size + 1); e->len = encoded_size; log_debug(LD_REND,"Successfully stored rend desc '%s', len %d.", - service_id, encoded_size); + service_id, (int)encoded_size); return 1; } |