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:
5b1ebec
)
another g++ patch (Util.xs)
author
Paul Marquess
<paul.marquess@btinternet.com>
Fri, 6 Oct 2006 11:14:03 +0000
(12:14 +0100)
committer
H.Merijn Brand
<h.m.brand@xs4all.nl>
Sat, 7 Oct 2006 11:52:04 +0000
(11:52 +0000)
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <
00ea01c6e930
$
269f3d70
$
4e3c140a
@myopwv.com>
p4raw-id: //depot/perl@28954
ext/List/Util/Util.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/List/Util/Util.xs
b/ext/List/Util/Util.xs
index
3a95046
..
5f713a0
100644
(file)
--- a/
ext/List/Util/Util.xs
+++ b/
ext/List/Util/Util.xs
@@
-390,7
+390,7
@@
CODE:
if(!sv_isobject(sv)) {
XSRETURN_UNDEF;
}
- RETVAL = sv_reftype(SvRV(sv),TRUE);
+ RETVAL =
(char*)
sv_reftype(SvRV(sv),TRUE);
}
OUTPUT:
RETVAL
@@
-406,7
+406,7
@@
CODE:
if(!SvROK(sv)) {
XSRETURN_UNDEF;
}
- RETVAL = sv_reftype(SvRV(sv),FALSE);
+ RETVAL =
(char*)
sv_reftype(SvRV(sv),FALSE);
}
OUTPUT:
RETVAL