*srcX = 0;
}
/* right clipping */
- if (*srcX + *width > buffer->Width)
+ if (*srcX + *width > (GLsizei) buffer->Width)
*width -= (*srcX + *width - buffer->Width);
if (*width <= 0)
*srcY = 0;
}
/* top clipping */
- if (*srcY + *height > buffer->Height)
+ if (*srcY + *height > (GLsizei) buffer->Height)
*height -= (*srcY + *height - buffer->Height);
if (*height <= 0)