mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-08 17:00:47 +00:00
Fix a double out-by-one error.
This fixes the aliasing problem brought to light by the recent dead-code removal work. * taniwha dons a brown paper bag.
This commit is contained in:
parent
580fba2cd1
commit
5ec4598fce
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ dagnode_deref_match (const dagnode_t *n, const daglabel_t *op,
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < 2; i++) {
|
for (i = 0; i < 2; i++) {
|
||||||
if (n->children[i + 1] != children[i])
|
if (n->children[i] != children[i + 1])
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue