summaryrefslogtreecommitdiff
path: root/indra/llmath/llmath.h
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-01 12:01:44 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-01 12:01:44 +0000
commit50f29e0bc20afb5b44bf9824f5f7c3362d4e4f16 (patch)
tree7a61360cd7ed49f2c1a80f3b03dbcffc03353a12 /indra/llmath/llmath.h
parentcdd3a7ecab1b9506eba52e8da92f349a4f7f2359 (diff)
Use floorf() instead of floor() when we know the param is an F32. Which here, it always is.
Diffstat (limited to 'indra/llmath/llmath.h')
-rw-r--r--indra/llmath/llmath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/llmath.h b/indra/llmath/llmath.h
index 7a5d51ff76..209b506c30 100644
--- a/indra/llmath/llmath.h
+++ b/indra/llmath/llmath.h
@@ -203,7 +203,7 @@ inline S32 llfloor( F32 f )
}
return result;
#else
- return (S32)floor(f);
+ return (S32)floorf(f);
#endif
}