mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Fix a compile warning on OSX 10.6
This commit is contained in:
parent
073fed06c4
commit
c13fb7feb1
@ -3233,7 +3233,7 @@ alloc_http_authenticator(const char *authenticator)
|
|||||||
tor_free(base64_authenticator); /* free and set to null */
|
tor_free(base64_authenticator); /* free and set to null */
|
||||||
} else {
|
} else {
|
||||||
int i = 0, j = 0;
|
int i = 0, j = 0;
|
||||||
int len = strlen(base64_authenticator);
|
ssize_t len = strlen(base64_authenticator);
|
||||||
|
|
||||||
/* remove all newline occurrences within the string */
|
/* remove all newline occurrences within the string */
|
||||||
for (i=0; i < len; ++i) {
|
for (i=0; i < len; ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user