Fix signed/unsigned mismatch.

This commit is contained in:
Raymond Hettinger 2009-01-26 16:53:29 +00:00
parent c2bd968a69
commit 26dd760636
1 changed files with 1 additions and 1 deletions

View File

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