From 26dd760636840f85f08e52ca7b63ab05d9161e43 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 26 Jan 2009 16:53:29 +0000 Subject: Fix signed/unsigned mismatch. --- Modules/_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_ssl.c b/Modules/_ssl.c index d9cbbd0..f143ae9 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -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]); } -- cgit v0.12