From: Matthew Fernandez Date: Mon, 7 Sep 2020 23:43:32 +0000 (-0700) Subject: squash some tolower/toupper conversion warnings X-Git-Tag: 2.46.0~20^2^2~82^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de7b1aea03ddcfe08e55fb74e579b682d29e2487;p=graphviz squash some tolower/toupper conversion warnings --- diff --git a/lib/expr/exeval.c b/lib/expr/exeval.c index 805282633..73d5530c3 100644 --- a/lib/expr/exeval.c +++ b/lib/expr/exeval.c @@ -318,21 +318,21 @@ prformat(Sfio_t* sp, void* vp, Sffmt_t* dp) { for (; *s; s++) if (isupper(*s)) - *s = tolower(*s); + *s = (char)tolower(*s); else if (islower(*s)) - *s = toupper(*s); + *s = (char)toupper(*s); } else if (streq(txt, "lower")) { for (; *s; s++) if (isupper(*s)) - *s = tolower(*s); + *s = (char)tolower(*s); } else if (streq(txt, "upper")) { for (; *s; s++) if (islower(*s)) - *s = toupper(*s); + *s = (char)toupper(*s); } else if (streq(txt, "variable")) {