From 8e5b6314ef3dd6de9188614ff356c0388fc37134 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 14 Jan 2001 13:58:49 +0000 Subject: [PATCH] Fix warning in apps/ca.c --- apps/ca.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ca.c b/apps/ca.c index 2ac0db74d6..2cf1697642 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -2448,7 +2448,7 @@ err: static int get_certificate_status(const char *serial, TXT_DB *db) { - unsigned char *row[DB_NUMBER],**rrow; + char *row[DB_NUMBER],**rrow; int ok=-1,i; /* Free Resources */ @@ -2481,7 +2481,7 @@ static int get_certificate_status(const char *serial, TXT_DB *db) /* Make it Upper Case */ for (i=0; row[DB_serial][i] != '\0'; i++) - row[DB_serial][i] = toupper(row[DB_serial][i]); + row[DB_serial][i] = toupper((unsigned char)row[DB_serial][i]); ok=1; -- 2.25.1