diff options
author | Brian Paul <[email protected]> | 2003-02-25 19:25:52 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-02-25 19:25:52 +0000 |
commit | 4039cb8ca82d59451a6de8902fe35e693cdca3ba (patch) | |
tree | 0ea4e7518923243d8d49064719c1206f16c63640 /src/mesa/swrast/s_drawpix.c | |
parent | b10c434a8f1b760e5a5516729761944d3e84d894 (diff) |
casts to silence g++ warnings
Diffstat (limited to 'src/mesa/swrast/s_drawpix.c')
-rw-r--r-- | src/mesa/swrast/s_drawpix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index a69f3cc3c95..ddf864793ec 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src/mesa/swrast/s_drawpix.c @@ -1,4 +1,4 @@ -/* $Id: s_drawpix.c,v 1.44 2003/01/16 18:57:44 brianp Exp $ */ +/* $Id: s_drawpix.c,v 1.45 2003/02/25 19:26:00 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -718,7 +718,7 @@ draw_depth_pixels( GLcontext *ctx, GLint x, GLint y, /* clamp depth values to [0,1] and convert from floats to ints */ { const GLfloat zs = ctx->DepthMaxF; - GLint i; + GLuint i; for (i = 0; i < span.end; i++) { span.array->z[i] = (GLdepth) (floatSpan[i] * zs + 0.5F); } |