summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_aalinetemp.h
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2001-09-18 23:06:14 +0000
committerKarl Schultz <kschultz@freedesktop.org>2001-09-18 23:06:14 +0000
commit7b9fe820a3fba3849864682fbb1cb512362934ab (patch)
tree62fb4872296b4cb7ba0eae47fd47da994d01ada9 /src/mesa/swrast/s_aalinetemp.h
parentc98541f54bad9c706092b1eae81739f78660b000 (diff)
more compiler warning fixes
Diffstat (limited to 'src/mesa/swrast/s_aalinetemp.h')
-rw-r--r--src/mesa/swrast/s_aalinetemp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_aalinetemp.h b/src/mesa/swrast/s_aalinetemp.h
index bcfd22f019..5808245948 100644
--- a/src/mesa/swrast/s_aalinetemp.h
+++ b/src/mesa/swrast/s_aalinetemp.h
@@ -1,4 +1,4 @@
-/* $Id: s_aalinetemp.h,v 1.12 2001/05/21 18:13:43 brianp Exp $ */
+/* $Id: s_aalinetemp.h,v 1.13 2001/09/18 23:06:14 kschultz Exp $ */
/*
* Mesa 3-D graphics library
@@ -159,7 +159,7 @@ NAME(line)(GLcontext *ctx, const SWvertex *v0, const SWvertex *v1)
line.y1 = v1->win[1];
line.dx = line.x1 - line.x0;
line.dy = line.y1 - line.y0;
- line.len = sqrt(line.dx * line.dx + line.dy * line.dy);
+ line.len = (GLfloat) sqrt(line.dx * line.dx + line.dy * line.dy);
line.halfWidth = 0.5F * ctx->Line.Width;
if (line.len == 0.0)