diff options
author | Nils Larsch <nils@openssl.org> | 2005-08-28 22:49:57 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-08-28 22:49:57 +0000 |
commit | 8215e7a93897347a97de87b3d26fe84cc8a5b05d (patch) | |
tree | 8b36ff9369a0e0a6f6fde828209564a32715080c /crypto/rsa/rsa_depr.c | |
parent | f7622f86d939c2761b2ab148311b870e0785df12 (diff) |
fix warnings when building openssl with the following compiler options:
-Wmissing-prototypes -Wcomment -Wformat -Wimplicit -Wmain -Wmultichar
-Wswitch -Wshadow -Wtrigraphs -Werror -Wchar-subscripts
-Wstrict-prototypes -Wreturn-type -Wpointer-arith -W -Wunused
-Wno-unused-parameter -Wuninitialized
Diffstat (limited to 'crypto/rsa/rsa_depr.c')
-rw-r--r-- | crypto/rsa/rsa_depr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_depr.c b/crypto/rsa/rsa_depr.c index 73fa6eea90..c5582b996d 100644 --- a/crypto/rsa/rsa_depr.c +++ b/crypto/rsa/rsa_depr.c @@ -80,7 +80,7 @@ RSA *RSA_generate_key(int bits, unsigned long e_value, /* The problem is when building with 8, 16, or 32 BN_ULONG, * unsigned long can be larger */ - for (i=0; i<sizeof(unsigned long)*8; i++) + for (i=0; i<(int)sizeof(unsigned long)*8; i++) { if (e_value & (1UL<<i)) BN_set_bit(e,i); |