From: Raymond Hettinger Date: Mon, 26 Jan 2009 16:53:29 +0000 (+0000) Subject: Fix signed/unsigned mismatch. X-Git-Tag: v3.1a1~392 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=26dd760636840f85f08e52ca7b63ab05d9161e43;p=thirdparty%2FPython%2Fcpython.git Fix signed/unsigned mismatch. --- diff --git a/Modules/_ssl.c b/Modules/_ssl.c index d9cbbd051fef..f143ae983f4f 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]); }