mirror of
https://github.com/ioquake/jedi-outcast.git
synced 2025-02-22 20:02:21 +00:00
fix some accesses beyond the end of arrays spotted via clang
This commit is contained in:
parent
9eebe9bece
commit
0b512e60b6
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ void RB_CalcColorFromOneMinusEntity( unsigned char *dstColors )
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int *pColors = ( int * ) dstColors;
|
int *pColors = ( int * ) dstColors;
|
||||||
unsigned char invModulate[3];
|
unsigned char invModulate[4];
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
if ( !backEnd.currentEntity )
|
if ( !backEnd.currentEntity )
|
||||||
|
|
Loading…
Reference in a new issue