fix a couple of ms-dos shadow declaration warnings

This commit is contained in:
nhmall
2022-11-29 23:43:42 -05:00
parent 5ac1557d9a
commit 6b99a50821
2 changed files with 9 additions and 9 deletions

View File

@@ -481,10 +481,10 @@ static unsigned long
vesa_MakeColor(struct Pixel p)
{
unsigned long r = p.r >> vesa_red_shift;
unsigned long gr = p.g >> vesa_green_shift;
unsigned long g = p.g >> vesa_green_shift;
unsigned long b = p.b >> vesa_blue_shift;
return (r << vesa_red_pos)
| (gr << vesa_green_pos)
| (g << vesa_green_pos)
| (b << vesa_blue_pos);
}