]> granicus.if.org Git - python/commitdiff
Fix signed/unsigned mismatch.
authorRaymond Hettinger <python@rcn.com>
Mon, 26 Jan 2009 16:53:29 +0000 (16:53 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 26 Jan 2009 16:53:29 +0000 (16:53 +0000)
Modules/_ssl.c

index d9cbbd051fef5020e41eab6f8ff9e42bc9f3e3f3..f143ae983f4fdb5736a6008f475c106b37c9e30d 100644 (file)
@@ -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]);
                                }