diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-02-10 12:51:01 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-02-10 12:51:47 -0800 |
commit | d9062c86adf354a415a2c18f10c1c3d18c8a53e0 (patch) | |
tree | 394bfa4d61b97432f2dbc997d6b11bada31012f2 | |
parent | 4666b21a00643d34ded839fdc882f66e0ebbfec3 (diff) |
Silence a Visual Studio double-to-float warning.
-rw-r--r-- | include/glu3_scalar.h | 2 |
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)); } |