diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-27 05:03:11 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-27 05:03:11 (GMT) |
commit | 5802bb231945c04e34acef39b9a937bbe153a8d6 (patch) | |
tree | 6836a407c26d471944a29aabd7e0c4f5c1700f2d | |
parent | 311d071541ba1fd8615ecf604026e96d547c1d80 (diff) | |
download | cpython-5802bb231945c04e34acef39b9a937bbe153a8d6.zip cpython-5802bb231945c04e34acef39b9a937bbe153a8d6.tar.gz cpython-5802bb231945c04e34acef39b9a937bbe153a8d6.tar.bz2 |
Fix compiler warnings
-rw-r--r-- | Modules/_ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 4868104..3f167b3 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -1431,7 +1431,7 @@ static void _ssl_thread_locking_function (int mode, int n, const char *file, int */ if ((_ssl_locks == NULL) || - (n < 0) || (n >= _ssl_locks_count)) + (n < 0) || ((unsigned)n >= _ssl_locks_count)) return; if (mode & CRYPTO_LOCK) { @@ -1443,7 +1443,7 @@ static void _ssl_thread_locking_function (int mode, int n, const char *file, int static int _setup_ssl_threads(void) { - int i; + unsigned int i; if (_ssl_locks == NULL) { _ssl_locks_count = CRYPTO_num_locks(); |