diff options
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/POSIX.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 9f30dc120e..48caf9e0ae 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -803,7 +803,7 @@ static NV my_tgamma(NV x) if (x < 1.0) y += 1.0; else { - n = Perl_floor(y) - 1; + n = (int)Perl_floor(y) - 1; y -= n; } z = y - 1; |