chr(0xFFFFFFFF) didn't translate to utf8 character
Larry Wall [Fri, 23 Oct 1998 19:31:42 +0000 (19:31 +0000)]
p4raw-id: //depot/perl@2040

pp.c

diff --git a/pp.c b/pp.c
index 14c8a25..430e7a2 100644 (file)
--- a/pp.c
+++ b/pp.c
@@ -2136,7 +2136,7 @@ PP(pp_chr)
 {
     djSP; dTARGET;
     char *tmps;
-    I32 value = POPi;
+    U32 value = POPu;
 
     (void)SvUPGRADE(TARG,SVt_PV);