diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-05-20 05:52:36 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-05-20 05:53:55 +0200 |
commit | c13fb7feb1ee9d97a0ccbdae880b90a73efcc07c (patch) | |
tree | d9a8dde5bd5d5620dc3df8acd28bab3cc0aed7f6 /src | |
parent | 073fed06c458fac428b2377b4828412acb7d3802 (diff) | |
download | tor-c13fb7feb1ee9d97a0ccbdae880b90a73efcc07c.tar tor-c13fb7feb1ee9d97a0ccbdae880b90a73efcc07c.tar.gz |
Fix a compile warning on OSX 10.6
Diffstat (limited to 'src')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index bcdde6756..72414589c 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) { |