diff options
author | geoff <geoff> | 2004-02-10 18:46:09 +0000 |
---|---|---|
committer | geoff <geoff> | 2004-02-10 18:46:09 +0000 |
commit | e9b72003ce4089dd87207e4586bfd12b6bd12c6c (patch) | |
tree | 358d924e34a7b8ec585d00b0fe0a4783e3d0a747 /apps/req.c | |
parent | a14424f353f573fbd9dd3545153023412d129647 (diff) | |
download | openssl-e9b72003ce4089dd87207e4586bfd12b6bd12c6c.tar.gz |
minor signed/unsigned warning fixes
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c index c4594c490..5df8f89fc 100644 --- a/apps/req.c +++ b/apps/req.c @@ -1322,7 +1322,7 @@ start: for (;;) /* If OBJ not recognised ignore it */ if ((nid=OBJ_txt2nid(type)) == NID_undef) goto start; if (BIO_snprintf(buf,sizeof buf,"%s_default",v->name) - >= sizeof buf) + >= (int)sizeof(buf)) { BIO_printf(bio_err,"Name '%s' too long\n",v->name); return 0; @@ -1387,7 +1387,7 @@ start2: for (;;) goto start2; if (BIO_snprintf(buf,sizeof buf,"%s_default",type) - >= sizeof buf) + >= (int)sizeof(buf)) { BIO_printf(bio_err,"Name '%s' too long\n",v->name); return 0; |