Fix signed/unsigned mismatch.

This commit is contained in:
Raymond Hettinger 2009-01-26 16:55:41 +00:00
parent 5cd012b64e
commit 8fb67e038e
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}