summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2011-05-20 05:52:36 +0200
committerSebastian Hahn <sebastian@torproject.org>2011-05-20 05:53:55 +0200
commitc13fb7feb1ee9d97a0ccbdae880b90a73efcc07c (patch)
treed9a8dde5bd5d5620dc3df8acd28bab3cc0aed7f6
parent073fed06c458fac428b2377b4828412acb7d3802 (diff)
downloadtor-c13fb7feb1ee9d97a0ccbdae880b90a73efcc07c.tar.gz
tor-c13fb7feb1ee9d97a0ccbdae880b90a73efcc07c.zip
Fix a compile warning on OSX 10.6
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
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) {