summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/glu3_scalar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/glu3_scalar.h b/include/glu3_scalar.h
index d3fb0c3..64a320b 100644
--- a/include/glu3_scalar.h
+++ b/include/glu3_scalar.h
@@ -226,7 +226,7 @@ extern INLINE GLfloat gluLengthSqr4v(const GLUvec4 *v)
extern INLINE GLfloat gluLength4v(const GLUvec4 *v)
{
- return sqrt(gluLengthSqr4v(v));
+ return (GLfloat) sqrt(gluLengthSqr4v(v));
}