Remove warnings.
[openssl.git] / apps / ca.c
index 9126c30..42738de 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1336,7 +1336,7 @@ bad:
                        j=x->cert_info->serialNumber->length;
                        p=(char *)x->cert_info->serialNumber->data;
                        
-                       if(strlen(outdir) >= (j ? BSIZE-j*2-6 : BSIZE-8))
+                       if(strlen(outdir) >= (size_t)(j ? BSIZE-j*2-6 : BSIZE-8))
                                {
                                BIO_printf(bio_err,"certificate file name too long\n");
                                goto err;