]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Merge branch 'master' into cooking
authorWolfgang Bumiller <wry.git@bumiller.com>
Sat, 8 Feb 2014 09:33:50 +0000 (10:33 +0100)
committerWolfgang Bumiller <wry.git@bumiller.com>
Sat, 8 Feb 2014 09:33:50 +0000 (10:33 +0100)
fold.c

diff --git a/fold.c b/fold.c
index d90887da2ae2012ab17f55fe193a7b70d8866e9b..f064f29fa5d599c48dfda5e49342e32aaee3b98b 100644 (file)
--- a/fold.c
+++ b/fold.c
@@ -729,7 +729,7 @@ static GMQCC_INLINE ast_expression *fold_intrin_asinh(fold_t *fold, ast_value *a
     return fold_constgen_float(fold, asinhf(fold_immvalue_float(a)));
 }
 static GMQCC_INLINE ast_expression *fold_intrin_atanh(fold_t *fold, ast_value *a) {
-    return fold_constgen_float(fold, atanhf(fold_immvalue_float(a)));
+    return fold_constgen_float(fold, (float)atanh(fold_immvalue_float(a)));
 }
 static GMQCC_INLINE ast_expression *fold_intrin_exp(fold_t *fold, ast_value *a) {
     return fold_constgen_float(fold, expf(fold_immvalue_float(a)));