summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-01-26 16:55:41 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-01-26 16:55:41 (GMT)
commit8fb67e038e7888c4e147b384a370c2817a428d16 (patch)
treee2ebb391d9105b8edda401f42c4839e517101617 /Modules/_ssl.c
parent5cd012b64e7a1139997ae09f9858fb73bd2c2ca3 (diff)
downloadcpython-8fb67e038e7888c4e147b384a370c2817a428d16.zip
cpython-8fb67e038e7888c4e147b384a370c2817a428d16.tar.gz
cpython-8fb67e038e7888c4e147b384a370c2817a428d16.tar.bz2
Fix signed/unsigned mismatch.
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 8fe72a5..4b0958a 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -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]);
}