diff options
author | Steve Hay <SteveHay@planit.com> | 2005-03-29 15:18:30 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2005-03-29 15:18:30 +0000 |
commit | fe2774edcceb29d7f31eb2b8407d2ab3df896594 (patch) | |
tree | 5f9e337ef31aaa5474897b7a94d6eefe9c923d79 /utf8.c | |
parent | 1cb0ed9b77e4ba2e0bcbeb9a897574a0fe3f3e52 (diff) | |
download | perl-fe2774edcceb29d7f31eb2b8407d2ab3df896594.tar.gz |
Clean-up some warnings when compiling on Win32 with VC++
p4raw-id: //depot/perl@24096
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1863,7 +1863,7 @@ Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV f } u = utf8_to_uvchr((U8*)s, 0); if (u < 256) { - unsigned char c = u & 0xFF; + unsigned char c = (unsigned char)u & 0xFF; if (!ok && (flags & UNI_DISPLAY_BACKSLASH)) { switch (c) { case '\n': |