This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX math: stupidness in 9e010b89
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 8 Sep 2014 17:39:50 +0000 (13:39 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 8 Sep 2014 17:39:50 +0000 (13:39 -0400)
ext/POSIX/POSIX.xs

index f2f7e40..2509c67 100644 (file)
@@ -759,7 +759,7 @@ static IV my_lrint(NV x)
 #ifndef c99_lround
 static IV my_lround(NV x)
 {
-  return (IV)return MY_ROUND_NEAREST(x);
+  return (IV)MY_ROUND_NEAREST(x);
 }
 #  define c99_lround my_lround
 #endif