From: Matthew Fernandez Date: Thu, 8 Sep 2022 03:54:51 +0000 (-0700) Subject: gvpr TFA_Advance: squash -Wconversion warning from 'tolower' return X-Git-Tag: 6.0.1~5^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33f8143133a262a657ee40212b48095e6fb9759a;p=graphviz gvpr TFA_Advance: squash -Wconversion warning from 'tolower' return GCC is overly pedantic about the return type of the ctype.h functions. --- diff --git a/lib/gvpr/trieFA.h b/lib/gvpr/trieFA.h index 6369e4ad8..2bbd53926 100644 --- a/lib/gvpr/trieFA.h +++ b/lib/gvpr/trieFA.h @@ -62,7 +62,7 @@ static short TFA_State; char c = C; \ if (TFA_State >= 0) { \ if (isupper(c)) \ - c = tolower(c); \ + c = (char)tolower(c); \ else if (! IN_MASK_RANGE(c)) { \ TFA_State = -1; \ goto TFA_done; \