mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-09 23:01:51 +00:00
Fix shift into sign in cl_cin.c
This commit is contained in:
parent
ae9edd1491
commit
62cec249d7
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ static unsigned int yuv_to_rgb24( long y, long u, long v )
|
|||
if (g > 255) g = 255;
|
||||
if (b > 255) b = 255;
|
||||
|
||||
return LittleLong ((r)|(g<<8)|(b<<16)|(255<<24));
|
||||
return LittleLong ((unsigned long)((r)|(g<<8)|(b<<16))|(255UL<<24));
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
|
Loading…
Reference in a new issue