From aea9cf1011cf3c7badfd1bc49f0a27f96f234cf9 Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Tue, 1 Sep 2009 05:23:47 +0200 Subject: Fix compile warnings on Snow Leopard Big thanks to nickm and arma for helping me with this! --- src/or/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/test.c') diff --git a/src/or/test.c b/src/or/test.c index 7b7411e2f8..e06dd5951f 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -410,7 +410,7 @@ test_crypto_dh(void) char p2[DH_BYTES]; char s1[DH_BYTES]; char s2[DH_BYTES]; - int s1len, s2len; + ssize_t s1len, s2len; test_eq(crypto_dh_get_bytes(dh1), DH_BYTES); test_eq(crypto_dh_get_bytes(dh2), DH_BYTES); -- cgit v1.2.3-54-g00ecf