summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2002-04-25 13:01:08 -0400
committerAbhijit Menon-Sen <ams@wiw.org>2002-04-25 20:31:19 +0000
commit0be3c52e1fefcbd9964c607508ddbadc841096ae (patch)
tree343c12bf0ead00f7c5dbc52b5daf46a710e72c4e /ext/POSIX
parentf8166efe93e5a4ec13d1f67633fc4c8be1747d50 (diff)
downloadperl-0be3c52e1fefcbd9964c607508ddbadc841096ae.tar.gz
Re: POSIX::WEXITSTATUS broken again
Message-Id: <Pine.SOL.4.10.10204251656510.2019-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@16168
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/POSIX.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 2d1abf3060..bc0031e5e8 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -517,7 +517,7 @@ __END__
if (memEQ(name, "WEXITSTATUS", 11)) {
/* ^ */
#ifdef WEXITSTATUS
- *arg_result = WEXITSTATUS(WMUNGE(*arg_result));
+ *arg_result = WEXITSTATUS(WMUNGE((int) *arg_result));
return PERL_constant_ISIV;
#else
return PERL_constant_NOTDEF;