summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-04-15 23:33:13 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-04-15 23:33:13 +0000
commit5fc32deacd7d2eaba1f29c61703ea618e4b42998 (patch)
tree901bb75df30727ea2083bbd5249a96783eadb869 /pp.c
parente7e7e0a5a9d2df265abc069485c2cc1ff2d30ccb (diff)
downloadperl-5fc32deacd7d2eaba1f29c61703ea618e4b42998.tar.gz
fix casting warning in pp_ord()
p4raw-id: //depot/perl@30965
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index 3df0209e87..f532c5987b 100644
--- a/pp.c
+++ b/pp.c
@@ -3357,7 +3357,7 @@ PP(pp_ord)
XPUSHu(DO_UTF8(argsv) ?
utf8n_to_uvchr(s, UTF8_MAXBYTES, 0, UTF8_ALLOW_ANYUV) :
- (*s & 0xff));
+ (UV)(*s & 0xff));
RETURN;
}