[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/maint-0.2.2] Fix a compile warning on OSX 10.6
commit c13fb7feb1ee9d97a0ccbdae880b90a73efcc07c
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date: Fri May 20 05:52:36 2011 +0200
Fix a compile warning on OSX 10.6
---
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 bcdde67..7241458 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) {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits