mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix signed/unsigned mismatch.
This commit is contained in:
parent
5cd012b64e
commit
8fb67e038e
1 changed files with 1 additions and 1 deletions
|
@ -1542,7 +1542,7 @@ static int _setup_ssl_threads(void) {
|
||||||
for (i = 0; i < _ssl_locks_count; i++) {
|
for (i = 0; i < _ssl_locks_count; i++) {
|
||||||
_ssl_locks[i] = PyThread_allocate_lock();
|
_ssl_locks[i] = PyThread_allocate_lock();
|
||||||
if (_ssl_locks[i] == NULL) {
|
if (_ssl_locks[i] == NULL) {
|
||||||
int j;
|
unsigned int j;
|
||||||
for (j = 0; j < i; j++) {
|
for (j = 0; j < i; j++) {
|
||||||
PyThread_free_lock(_ssl_locks[j]);
|
PyThread_free_lock(_ssl_locks[j]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue