From c13fb7feb1ee9d97a0ccbdae880b90a73efcc07c Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Fri, 20 May 2011 05:52:36 +0200 Subject: [PATCH] Fix a compile warning on OSX 10.6 --- src/or/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/connection.c b/src/or/connection.c index bcdde67568..72414589c8 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -3233,7 +3233,7 @@ alloc_http_authenticator(const char *authenticator) tor_free(base64_authenticator); /* free and set to null */ } else { int i = 0, j = 0; - int len = strlen(base64_authenticator); + ssize_t len = strlen(base64_authenticator); /* remove all newline occurrences within the string */ for (i=0; i < len; ++i) {