Mercurial > cpython-lru_cache-weakref
diff Modules/_ssl.c @ 51068:02e1c5ce6a69 3.0
Fix signed/unsigned mismatch.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Mon, 26 Jan 2009 16:54:24 +0000 |
| parents | 3c8ef3466923 |
| children | 87fbbf22adf3 |
line wrap: on
line diff
--- a/Modules/_ssl.c Mon Jan 26 03:44:49 2009 +0000 +++ b/Modules/_ssl.c Mon Jan 26 16:54:24 2009 +0000 @@ -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]); }
