diff options
author | Brian Paul <[email protected]> | 2002-03-19 15:22:50 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-03-19 15:22:50 +0000 |
commit | d0570646bd67eae8152b63ccaf5c73970b1f56ea (patch) | |
tree | 56c9eef627a5083063a99103e9735f60b83a27f6 /src/mesa/swrast/s_linetemp.h | |
parent | f7c830e35ca243c391bde1bfd0ae059c292ac649 (diff) |
fix Intel C compiler warnings (Gerk Huisma)
Diffstat (limited to 'src/mesa/swrast/s_linetemp.h')
-rw-r--r-- | src/mesa/swrast/s_linetemp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_linetemp.h b/src/mesa/swrast/s_linetemp.h index 54e53c6c46a..fec413c6a20 100644 --- a/src/mesa/swrast/s_linetemp.h +++ b/src/mesa/swrast/s_linetemp.h @@ -1,4 +1,4 @@ -/* $Id: s_linetemp.h,v 1.12 2002/02/02 21:40:33 brianp Exp $ */ +/* $Id: s_linetemp.h,v 1.13 2002/03/19 15:22:50 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -271,7 +271,7 @@ ystep = -1; #endif #if defined(INTERP_Z) && defined(DEPTH_TYPE) - zPtrYstep = -ctx->DrawBuffer->Width * ((GLint)sizeof(DEPTH_TYPE)); + zPtrYstep = -((GLint) (ctx->DrawBuffer->Width * sizeof(DEPTH_TYPE))); #endif #ifdef PIXEL_ADDRESS pixelYstep = BYTES_PER_ROW; @@ -282,7 +282,7 @@ ystep = 1; #endif #if defined(INTERP_Z) && defined(DEPTH_TYPE) - zPtrYstep = ctx->DrawBuffer->Width * ((GLint)sizeof(DEPTH_TYPE)); + zPtrYstep = (GLint) (ctx->DrawBuffer->Width * sizeof(DEPTH_TYPE)); #endif #ifdef PIXEL_ADDRESS pixelYstep = -(BYTES_PER_ROW); |