commit | 26dd760636840f85f08e52ca7b63ab05d9161e43 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Mon Jan 26 16:53:29 2009 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Mon Jan 26 16:53:29 2009 +0000 |
tree | cf414e21ba6b3fefa2da1e1b0e769041f6ee0033 | |
parent | c2bd968a697da31f93a76639c2451bbcdb747eb7 [diff] [blame] |
Fix signed/unsigned mismatch.
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 @@ 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]); }