[Python-checkins] r61971 - python/trunk/Modules/_ssl.c
neal.norwitz
python-checkins at python.org
Thu Mar 27 06:03:12 CET 2008
Author: neal.norwitz
Date: Thu Mar 27 06:03:11 2008
New Revision: 61971
Modified:
python/trunk/Modules/_ssl.c
Log:
Fix compiler warnings
Modified: python/trunk/Modules/_ssl.c
==============================================================================
--- python/trunk/Modules/_ssl.c (original)
+++ python/trunk/Modules/_ssl.c Thu Mar 27 06:03:11 2008
@@ -1431,7 +1431,7 @@
*/
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 int _setup_ssl_threads(void) {
- int i;
+ unsigned int i;
if (_ssl_locks == NULL) {
_ssl_locks_count = CRYPTO_num_locks();
More information about the Python-checkins
mailing list