diff options
author | Roger Dingledine <arma@torproject.org> | 2008-08-20 05:15:08 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-08-20 05:15:08 +0000 |
commit | cc8b2247bfcecae2fe96d4133c8f403db06c93f7 (patch) | |
tree | ff0ff46067628288705a438d55ea5025804d65bd /src | |
parent | a8035b5fc3efcf19b6e6bf4cef610f77ae063d80 (diff) | |
download | tor-cc8b2247bfcecae2fe96d4133c8f403db06c93f7.tar.gz tor-cc8b2247bfcecae2fe96d4133c8f403db06c93f7.zip |
make r16598 compile on 64-bit too
svn:r16604
Diffstat (limited to 'src')
-rw-r--r-- | src/or/rendcommon.c | 2 | ||||
-rw-r--r-- | src/or/routerparse.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index a9a561b09c..0b97e2141e 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -514,7 +514,7 @@ rend_encode_v2_descriptors(smartlist_t *descs_out, ipos_base64 = tor_malloc_zero(ipos_len * 2); if (base64_encode(ipos_base64, ipos_len * 2, ipos, ipos_len)<0) { log_warn(LD_REND, "Could not encode introduction point string to " - "base64. length=%d", ipos_len); + "base64. length=%d", (int)ipos_len); tor_free(ipos_base64); tor_free(ipos); return -1; diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 1e94b543f8..00365cf4f7 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -3464,7 +3464,7 @@ rend_parse_v2_service_descriptor(rend_service_descriptor_t **parsed_out, if (strlen(desc) > REND_DESC_MAX_SIZE) { log_warn(LD_REND, "Descriptor length is %i which exceeds " "maximum rendezvous descriptor size of %i kilobytes.", - strlen(desc), REND_DESC_MAX_SIZE); + (int)strlen(desc), REND_DESC_MAX_SIZE); goto err; } /* Tokenize descriptor. */ |