From dd058b8de60ed079367676ca91299f8c0a306715 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 7 Jan 2009 14:12:01 +0000 Subject: [PATCH] fix compiler warnings --- lib/nss.c | 4 ++-- 1 file 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