summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2007-04-24 12:17:00 +0000
committerSteve Hay <SteveHay@planit.com>2007-04-24 12:17:00 +0000
commiteac04b2ef27e534c1394ef750a2964e023781dd9 (patch)
treec042ff824029316bcc57636fba1d4d4748117dd5 /utf8.c
parent9e6e12112c10f1809160cb40af4fdf30fb0d160c (diff)
downloadperl-eac04b2ef27e534c1394ef750a2964e023781dd9.tar.gz
Silence 5 "possible loss of data" warnings from VC6
p4raw-id: //depot/perl@31055
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 5d381bcb75..3c80bd2197 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1726,7 +1726,7 @@ Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8)
}
PL_last_swash_hv = hv;
- PL_last_swash_klen = klen;
+ PL_last_swash_klen = (U8)klen;
/* FIXME change interpvar.h? */
PL_last_swash_tmps = (U8 *) tmps;
PL_last_swash_slen = slen;