Fix a compile warning on OSX 10.6

This commit is contained in:
Sebastian Hahn 2011-05-20 05:52:36 +02:00
parent 073fed06c4
commit c13fb7feb1

View File

@ -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) {