aboutsummaryrefslogtreecommitdiff
path: root/ssl/ssl_ciph.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-10-19 15:11:24 +0100
committerMatt Caswell <matt@openssl.org>2016-11-04 12:09:46 +0000
commit348240c676a1b2beaebb865e8be0b62f88c10b7d (patch)
tree4ab53f4be6dee16b0a91113264047970c5cff1b9 /ssl/ssl_ciph.c
parenta14aa99be8fe169bba7afc6355b6b6d750b2ba1d (diff)
downloadopenssl-348240c676a1b2beaebb865e8be0b62f88c10b7d.zip
openssl-348240c676a1b2beaebb865e8be0b62f88c10b7d.tar.gz
openssl-348240c676a1b2beaebb865e8be0b62f88c10b7d.tar.bz2
Fix misc size_t issues causing Windows warnings in 64 bit
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/ssl_ciph.c')
-rw-r--r--ssl/ssl_ciph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c
index 478d9a9..9d259c1 100644
--- a/ssl/ssl_ciph.c
+++ b/ssl/ssl_ciph.c
@@ -175,7 +175,7 @@ static int ssl_cipher_info_find(const ssl_cipher_table * table,
size_t i;
for (i = 0; i < table_cnt; i++, table++) {
if (table->mask == mask)
- return i;
+ return (int)i;
}
return -1;
}