diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-01-07 14:12:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-01-07 14:12:01 +0000 |
commit | dd058b8de60ed079367676ca91299f8c0a306715 (patch) | |
tree | e2e6fbb8d91d5f23d8584061376019bd75fa49db /lib/nss.c | |
parent | 3c2ad4022c009ff06e5e62049c7a5f78d3cfdb01 (diff) | |
download | curl-dd058b8de60ed079367676ca91299f8c0a306715.tar.gz |
fix compiler warnings
Diffstat (limited to 'lib/nss.c')
-rw-r--r-- | lib/nss.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |