From ea36a843361c334fbacef31fb67d12d3a993d009 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 30 Jan 2014 11:51:56 -0700 Subject: [PATCH] pp.c: Silence compiler warning The only time the result of toFOLD_LC() can be larger than a byte is in a UTF-8 locale, which has already been ruled out for this section of code. --- pp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pp.c b/pp.c index b882fb3..a5ce2a8 100644 --- a/pp.c +++ b/pp.c @@ -4192,7 +4192,7 @@ PP(pp_fc) goto do_uni_folding; } for (; s < send; d++, s++) - *d = toFOLD_LC(*s); + *d = (U8) toFOLD_LC(*s); } else if ( !IN_UNI_8_BIT ) { /* Under nothing, or bytes */ for (; s < send; d++, s++) -- 2.7.4