summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2014-01-30 11:51:56 -0700
committerKarl Williamson <public@khwilliamson.com>2014-01-30 23:31:06 -0700
commitea36a843361c334fbacef31fb67d12d3a993d009 (patch)
tree25ce8bce818524f63bd5a3527d623e5cb062c9cd /pp.c
parent86897aa65fb10f5652fed7562f006ae8a470c661 (diff)
downloadperl-ea36a843361c334fbacef31fb67d12d3a993d009.tar.gz
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.
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index b882fb3c6a..a5ce2a865e 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++)