From 7c4268176eaaeb45003db4d5042a518b84c9f6dc Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Wed, 19 Sep 2001 20:30:44 +0000 Subject: silence compiler warnings (last batch for src) --- src/mesa/swrast/s_texture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/swrast/s_texture.c') 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; \ -- cgit v1.2.3