summaryrefslogtreecommitdiff
path: root/src/qcommon/cm_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon/cm_trace.c')
-rw-r--r--src/qcommon/cm_trace.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qcommon/cm_trace.c b/src/qcommon/cm_trace.c
index 3be22d43..c48ee3b3 100644
--- a/src/qcommon/cm_trace.c
+++ b/src/qcommon/cm_trace.c
@@ -132,10 +132,7 @@ SquareRootFloat
================
*/
float SquareRootFloat(float number) {
- union {
- float f;
- int i;
- } t;
+ floatint_t t;
float x, y;
const float f = 1.5F;