summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-01-26 16:53:29 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-01-26 16:53:29 (GMT)
commit26dd760636840f85f08e52ca7b63ab05d9161e43 (patch)
treecf414e21ba6b3fefa2da1e1b0e769041f6ee0033 /Modules/_ssl.c
parentc2bd968a697da31f93a76639c2451bbcdb747eb7 (diff)
downloadcpython-26dd760636840f85f08e52ca7b63ab05d9161e43.zip
cpython-26dd760636840f85f08e52ca7b63ab05d9161e43.tar.gz
cpython-26dd760636840f85f08e52ca7b63ab05d9161e43.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 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]);
}