aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/nss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nss.c b/lib/nss.c
index 55f3169e9..98ed31149 100644
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -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
* 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;
int count = 0;
- int i;
+ unsigned int i;
for(i=0; i<NUM_OF_CIPHERS; i++) {
SSL_CipherPolicyGet(cipherlist[i].num, &policy);