]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Avoid 'warning: comparison between signed and unsigned'.
authorGisle Vanem <gvanem@broadpark.no>
Tue, 23 Sep 2008 13:16:36 +0000 (13:16 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Tue, 23 Sep 2008 13:16:36 +0000 (13:16 +0000)
lib/ssluse.c

index cfa761e62a0e848860e5e8f9b87e2cbe02b7e04b..10e39cfa1049adcdc2d34d4dc0af49072373ae0b 100644 (file)
@@ -555,7 +555,7 @@ int cert_stuff(struct connectdata *conn,
 }
 
 /* returns non-zero on failure */
-static int x509_name_oneline(X509_NAME *a, char *buf, int size)
+static int x509_name_oneline(X509_NAME *a, char *buf, size_t size)
 {
 #if 0
   return X509_NAME_oneline(a, buf, size);
@@ -1744,7 +1744,8 @@ static int X509V3_ext(struct SessionHandle *data,
                       int certnum,
                       STACK_OF(X509_EXTENSION) *exts)
 {
-  int i, j;
+  int i;
+  size_t j;
 
   if(sk_X509_EXTENSION_num(exts) <= 0)
     /* no extensions, bail out */