diff options
author | Karl Schultz <[email protected]> | 2003-08-30 14:45:04 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2003-08-30 14:45:04 +0000 |
commit | dc24230de7f913969b52dee3579bb8fa3d50a8c0 (patch) | |
tree | 721e30477f9c529d562fa4bd2b71e465b4ed7fd0 /src/mesa/math | |
parent | d12a871b21adee531661f4cf6561d2ffda685359 (diff) |
Silence compiler warnings about implicit casts or conversions by supplying explicit casts and/or tweaking constant and variable definitions.
Diffstat (limited to 'src/mesa/math')
-rw-r--r-- | src/mesa/math/m_norm_tmp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/math/m_norm_tmp.h b/src/mesa/math/m_norm_tmp.h index 2b7945586e3..a20cb05017d 100644 --- a/src/mesa/math/m_norm_tmp.h +++ b/src/mesa/math/m_norm_tmp.h @@ -323,9 +323,9 @@ TAG(normalize_normals)( const GLmatrix *mat, GLdouble len = x * x + y * y + z * z; if (len > 1e-50) { len = INV_SQRTF(len); - out[i][0] = x * len; - out[i][1] = y * len; - out[i][2] = z * len; + out[i][0] = (GLfloat)(x * len); + out[i][1] = (GLfloat)(y * len); + out[i][2] = (GLfloat)(z * len); } else { out[i][0] = x; |