summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_texture.c
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2001-09-19 20:30:44 +0000
committerKarl Schultz <kschultz@freedesktop.org>2001-09-19 20:30:44 +0000
commit7c4268176eaaeb45003db4d5042a518b84c9f6dc (patch)
tree7359bd33704a6bd32b471049be4744ce27db099f /src/mesa/swrast/s_texture.c
parent2fc06af470da1929ac2fffc8d38a5d5ac87490bb (diff)
silence compiler warnings (last batch for src)
Diffstat (limited to 'src/mesa/swrast/s_texture.c')
-rw-r--r--src/mesa/swrast/s_texture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c
index 9c3e2c5b5f..39d9a9c612 100644
--- a/src/mesa/swrast/s_texture.c
+++ b/src/mesa/swrast/s_texture.c
@@ -1,4 +1,4 @@
-/* $Id: s_texture.c,v 1.38 2001/08/14 14:08:44 brianp Exp $ */
+/* $Id: s_texture.c,v 1.39 2001/09/19 20:30:44 kschultz Exp $ */
/*
* Mesa 3-D graphics library
@@ -68,7 +68,7 @@
if (S <= 0.0F) \
U = 0.0F; \
else if (S >= 1.0F) \
- U = SIZE; \
+ U = (GLfloat) SIZE; \
else \
U = S * SIZE; \
U -= 0.5F; \
@@ -97,7 +97,7 @@
if (S <= 0.0F) \
U = 0.0F; \
else if (S >= 1.0F) \
- U = SIZE; \
+ U = (GLfloat) SIZE; \
else \
U = S * SIZE; \
U -= 0.5F; \