aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2009-09-01 05:23:47 +0200
committerSebastian Hahn <sebastian@torproject.org>2009-09-01 18:36:27 +0200
commitaea9cf1011cf3c7badfd1bc49f0a27f96f234cf9 (patch)
treec66af3fe76725d159afe4f32e421c3c6a8db349c /src/common/tortls.c
parent075c004095e25940707aa496b49e29caefdd73e8 (diff)
downloadtor-aea9cf1011cf3c7badfd1bc49f0a27f96f234cf9.tar.gz
tor-aea9cf1011cf3c7badfd1bc49f0a27f96f234cf9.zip
Fix compile warnings on Snow Leopard
Big thanks to nickm and arma for helping me with this!
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index f14eab18a5..aeb0ca0800 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -1443,8 +1443,8 @@ tor_tls_used_v1_handshake(tor_tls_t *tls)
* buffer and *<b>wbuf_bytes</b> to the amount actually used. */
void
tor_tls_get_buffer_sizes(tor_tls_t *tls,
- int *rbuf_capacity, int *rbuf_bytes,
- int *wbuf_capacity, int *wbuf_bytes)
+ size_t *rbuf_capacity, size_t *rbuf_bytes,
+ size_t *wbuf_capacity, size_t *wbuf_bytes)
{
if (tls->ssl->s3->rbuf.buf)
*rbuf_capacity = tls->ssl->s3->rbuf.len;