From d1049ad93e67a552e29b3f875ffcb537e66f9458 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 18 Feb 2007 17:23:20 +0000 Subject: [PATCH] Fix Win32 warnings. --- apps/dgst.c | 2 +- crypto/x509/by_dir.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dgst.c b/apps/dgst.c index 4bb701551f..09d0934519 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -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; inum_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 (jnum_dirs) -- 2.25.1