This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e7e0a
)
fix casting warning in pp_ord()
author
Dave Mitchell
<davem@fdisolutions.com>
Sun, 15 Apr 2007 23:33:13 +0000
(23:33 +0000)
committer
Dave Mitchell
<davem@fdisolutions.com>
Sun, 15 Apr 2007 23:33:13 +0000
(23:33 +0000)
p4raw-id: //depot/perl@30965
pp.c
patch
|
blob
|
blame
|
history
diff --git
a/pp.c
b/pp.c
index
3df0209
..
f532c59
100644
(file)
--- 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;
}