projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
fb4a992
)
Placate nervous compilers that see longer than ints switch()ing.
Jarkko Hietaniemi [Mon, 13 Nov 2000 05:30:48 +0000 (
05:30
+0000)]
p4raw-id: //depot/perl@7671
utf8.c
patch
|
blob
|
blame
|
history
diff --git
a/utf8.c
b/utf8.c
index
8ce0d21
..
6ddf42b
100644
(file)
--- 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;