Fix signed/unsigned mismatch.
This commit is contained in:
parent
5cd012b64e
commit
8fb67e038e
|
@ -1542,7 +1542,7 @@ static int _setup_ssl_threads(void) {
|
|||
for (i = 0; i < _ssl_locks_count; i++) {
|
||||
_ssl_locks[i] = PyThread_allocate_lock();
|
||||
if (_ssl_locks[i] == NULL) {
|
||||
int j;
|
||||
unsigned int j;
|
||||
for (j = 0; j < i; j++) {
|
||||
PyThread_free_lock(_ssl_locks[j]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue