summaryrefslogtreecommitdiff
path: root/apps/req.c
diff options
context:
space:
mode:
authorgeoff <geoff>2004-02-10 18:46:09 +0000
committergeoff <geoff>2004-02-10 18:46:09 +0000
commite9b72003ce4089dd87207e4586bfd12b6bd12c6c (patch)
tree358d924e34a7b8ec585d00b0fe0a4783e3d0a747 /apps/req.c
parenta14424f353f573fbd9dd3545153023412d129647 (diff)
downloadopenssl-e9b72003ce4089dd87207e4586bfd12b6bd12c6c.tar.gz
minor signed/unsigned warning fixes
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c4
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;