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
|
else
|
||||||
{
|
{
|
||||||
BIO_write(out,title,strlen(title));
|
BIO_write(out,title,strlen(title));
|
||||||
for (i=0; i<len; i++)
|
for (i=0; i<(int)len; i++)
|
||||||
{
|
{
|
||||||
if (sep && (i != 0))
|
if (sep && (i != 0))
|
||||||
BIO_printf(out, ":");
|
BIO_printf(out, ":");
|
||||||
|
@ -198,7 +198,7 @@ static int add_cert_dir(BY_DIR *ctx, const char *dir, int type)
|
|||||||
len=(int)(p-ss);
|
len=(int)(p-ss);
|
||||||
if (len == 0) continue;
|
if (len == 0) continue;
|
||||||
for (j=0; j<ctx->num_dirs; j++)
|
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)
|
strncmp(ctx->dirs[j],ss,(unsigned int)len) == 0)
|
||||||
break;
|
break;
|
||||||
if (j<ctx->num_dirs)
|
if (j<ctx->num_dirs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user