From: Daniel Stenberg Date: Wed, 7 Jan 2009 14:12:01 +0000 (+0000) Subject: fix compiler warnings X-Git-Tag: curl-7_19_3~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd058b8de60ed079367676ca91299f8c0a306715;p=curl fix compiler warnings --- 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