Re: POSIX::WEXITSTATUS broken again
authorAndy Dougherty <doughera@lafayette.edu>
Thu, 25 Apr 2002 17:01:08 +0000 (13:01 -0400)
committerAbhijit Menon-Sen <ams@wiw.org>
Thu, 25 Apr 2002 20:31:19 +0000 (20:31 +0000)
   Message-Id: <Pine.SOL.4.10.10204251656510.2019-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@16168

ext/POSIX/POSIX.xs

index 2d1abf3..bc0031e 100644 (file)
@@ -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;