summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-11-13 05:30:48 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-13 05:30:48 +0000
commit9faf8d75b36b5058433b7bc0eebfb6e8674b88c7 (patch)
tree3d129003ad4d09e560f9761dc9554e1ff148cd93
parentfb4a99251a9b4f7df26ee75d35c49c5a577986aa (diff)
downloadperl-9faf8d75b36b5058433b7bc0eebfb6e8674b88c7.tar.gz
Placate nervous compilers that see longer than ints switch()ing.
p4raw-id: //depot/perl@7671
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 8ce0d216a1..6ddf42bf5c 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1089,7 +1089,7 @@ Perl_swash_fetch(pTHX_ SV *sv, U8 *ptr)
Copy(ptr, PL_last_swash_key, klen, U8);
}
- switch ((slen << 3) / needents) {
+ switch ((int)((slen << 3) / needents)) {
case 1:
bit = 1 << (off & 7);
off >>= 3;