Fix Win32 warnings.
This commit is contained in:
parent
5f4cc234fb
commit
d1049ad93e
@ -490,7 +490,7 @@ int do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout,
|
||||
else
|
||||
{
|
||||
BIO_write(out,title,strlen(title));
|
||||
for (i=0; i<len; i++)
|
||||
for (i=0; i<(int)len; i++)
|
||||
{
|
||||
if (sep && (i != 0))
|
||||
BIO_printf(out, ":");
|
||||
|
@ -198,7 +198,7 @@ static int add_cert_dir(BY_DIR *ctx, const char *dir, int type)
|
||||
len=(int)(p-ss);
|
||||
if (len == 0) continue;
|
||||
for (j=0; j<ctx->num_dirs; j++)
|
||||
if (strlen(ctx->dirs[j]) == len &&
|
||||
if (strlen(ctx->dirs[j]) == (size_t)len &&
|
||||
strncmp(ctx->dirs[j],ss,(unsigned int)len) == 0)
|
||||
break;
|
||||
if (j<ctx->num_dirs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user