mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-07 16:31:32 +00:00
[util] Fix an out-by-one in pqueue tests
Showed up only when the data arrays were packed.
This commit is contained in:
parent
ec54c54226
commit
80b17623b1
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ static test_t tests[] = {
|
||||||
{ 0, 0, dump_queue },
|
{ 0, 0, dump_queue },
|
||||||
{ sort2 + 4, 0, test_adjust },
|
{ sort2 + 4, 0, test_adjust },
|
||||||
{ 0, 0, dump_queue },
|
{ 0, 0, dump_queue },
|
||||||
{ sort3 + 7, 4, test_adjust },
|
{ sort3 + 6, 4, test_adjust },
|
||||||
{ 0, 0, dump_queue },
|
{ 0, 0, dump_queue },
|
||||||
{ sort3 + 0, SIZEOF(sort), test_remove },
|
{ sort3 + 0, SIZEOF(sort), test_remove },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue