From a670c1280b78e6da3b298b61f623e4c733c6be94 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 19 Apr 2002 00:38:27 +0000 Subject: casts to fix GLint/GLuint mismatches --- src/mesa/swrast/s_lines.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/mesa/swrast/s_lines.c') diff --git a/src/mesa/swrast/s_lines.c b/src/mesa/swrast/s_lines.c index aabcc5f213a..5c6743f92f8 100644 --- a/src/mesa/swrast/s_lines.c +++ b/src/mesa/swrast/s_lines.c @@ -1,4 +1,4 @@ -/* $Id: s_lines.c,v 1.27 2002/04/12 15:39:59 brianp Exp $ */ +/* $Id: s_lines.c,v 1.28 2002/04/19 00:38:27 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -77,7 +77,8 @@ draw_wide_line( GLcontext *ctx, struct sw_span *span, GLboolean xMajor ) start = width / 2 - 1; if (xMajor) { - GLuint i, w; + GLuint i; + GLint w; for (w = 0; w < width; w++) { if (w == 0) { for (i = 0; i < span->end; i++) @@ -96,7 +97,8 @@ draw_wide_line( GLcontext *ctx, struct sw_span *span, GLboolean xMajor ) } } else { - GLuint i, w; + GLuint i; + GLint w; for (w = 0; w < width; w++) { if (w == 0) { for (i = 0; i < span->end; i++) -- cgit v1.2.3