mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix games compile warnings.
This commit is contained in:
parent
7fc1f0011a
commit
ed6d4f82bb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue