Fix games compile warnings.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-06-26 16:58:00 +02:00
parent 7fc1f0011a
commit ed6d4f82bb
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ void DrawLine(uint32_t color, long x0, long y0, long x1, long y1)
long e2;
while ( true )
{
if ( 0 <= x0 && (size_t) x0 < xres && 0 <= y0 && y0 < (size_t) yres )
if ( 0 <= x0 && (size_t) x0 < xres && 0 <= y0 && (size_t) y0 < yres )
{
size_t index = y0 * linesize + x0;
buf[index] = color;