fix compiler warnings

This commit is contained in:
Daniel Stenberg 2009-01-07 14:12:01 +00:00
parent 3c2ad4022c
commit dd058b8de6
1 changed files with 2 additions and 2 deletions

View File

@ -235,11 +235,11 @@ static SECStatus set_ciphers(struct SessionHandle *data, PRFileDesc * model,
* Get the number of ciphers that are enabled. We use this to determine * Get the number of ciphers that are enabled. We use this to determine
* if we need to call NSS_SetDomesticPolicy() to enable the default ciphers. * if we need to call NSS_SetDomesticPolicy() to enable the default ciphers.
*/ */
static int num_enabled_ciphers() static int num_enabled_ciphers(void)
{ {
PRInt32 policy = 0; PRInt32 policy = 0;
int count = 0; int count = 0;
int i; unsigned int i;
for(i=0; i<NUM_OF_CIPHERS; i++) { for(i=0; i<NUM_OF_CIPHERS; i++) {
SSL_CipherPolicyGet(cipherlist[i].num, &policy); SSL_CipherPolicyGet(cipherlist[i].num, &policy);