From: Dr. Stephen Henson Date: Sun, 14 Jan 2001 13:58:49 +0000 (+0000) Subject: Fix warning in apps/ca.c X-Git-Tag: OpenSSL_0_9_6a-beta1~81^2~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8e5b6314ef3dd6de9188614ff356c0388fc37134;p=oweals%2Fopenssl.git Fix warning in apps/ca.c --- 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;