aboutsummaryrefslogtreecommitdiff
path: root/lib/nss.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-01-07 14:12:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-01-07 14:12:01 +0000
commitdd058b8de60ed079367676ca91299f8c0a306715 (patch)
treee2e6fbb8d91d5f23d8584061376019bd75fa49db /lib/nss.c
parent3c2ad4022c009ff06e5e62049c7a5f78d3cfdb01 (diff)
fix compiler warnings
Diffstat (limited to 'lib/nss.c')
-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);