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/main/imports.c | |
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/main/imports.c')
-rw-r--r-- | src/mesa/main/imports.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 7597979e4a7..5960a95b6e6 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -489,7 +489,7 @@ _mesa_inv_sqrtf(float n) #elif defined(XFree86LOADER) && defined(IN_MODULE) return 1.0F / xf86sqrt(n); #else - return 1.0F / sqrt(n); + return (float) (1.0 / sqrt(n)); #endif } |