diff options
author | Brian Paul <[email protected]> | 2004-12-03 15:24:34 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-12-03 15:24:34 +0000 |
commit | a760ccf6d8a1f94d505b4c211ff4c30bc1d325a8 (patch) | |
tree | 27b266d1b4acc7d09551c4f3ca30129f74e39f18 /src/mesa/main/image.c | |
parent | 025aa9efcd8213ce530818cfd8be1b6d9e945b2c (diff) |
silence a variety of warnings found with g++ 3.4.2
Diffstat (limited to 'src/mesa/main/image.c')
-rw-r--r-- | src/mesa/main/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index 5e65bf6f8ec..12f8352c2d2 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -4177,7 +4177,7 @@ _mesa_clip_readpixels(const GLcontext *ctx, *srcX = 0; } /* right clipping */ - if (*srcX + *width > buffer->Width) + if (*srcX + *width > (GLsizei) buffer->Width) *width -= (*srcX + *width - buffer->Width); if (*width <= 0) @@ -4190,7 +4190,7 @@ _mesa_clip_readpixels(const GLcontext *ctx, *srcY = 0; } /* top clipping */ - if (*srcY + *height > buffer->Height) + if (*srcY + *height > (GLsizei) buffer->Height) *height -= (*srcY + *height - buffer->Height); if (*height <= 0) |