From 0be3c52e1fefcbd9964c607508ddbadc841096ae Mon Sep 17 00:00:00 2001 From: Andy Dougherty Date: Thu, 25 Apr 2002 13:01:08 -0400 Subject: Re: POSIX::WEXITSTATUS broken again Message-Id: p4raw-id: //depot/perl@16168 --- ext/POSIX/POSIX.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/POSIX') 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; -- cgit v1.2.1