]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Use powf instead of pow.
authorDale Weiler <killfieldengine@gmail.com>
Mon, 17 Mar 2014 13:43:17 +0000 (09:43 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Mon, 17 Mar 2014 13:43:17 +0000 (09:43 -0400)
exec.c

diff --git a/exec.c b/exec.c
index 70011c977f06ecd7c83f1a36ca1a705064dad414..29a04a3fcc689f8faeabd40264e4876a9ce2acce 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -827,7 +827,7 @@ static int qc_pow(qc_program_t *prog) {
     CheckArgs(2);
     base = GetArg(0);
     exp = GetArg(1);
-    out._float = pow(base->_float, exp->_float);
+    out._float = powf(base->_float, exp->_float);
     Return(out);
     return 0;
 }