mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 16:30:43 +00:00
[build] Fix a pile of gcc 10 issues
gcc got stricter about array accesses, complicating progs macros, and much better at detecting buffer overflows.
This commit is contained in:
parent
af814ff9a8
commit
ab04a1915e
30 changed files with 125 additions and 107 deletions
|
@ -101,7 +101,7 @@ qpic_get (draw_resources_t *res, int index)
|
|||
PR_RESGET (res->qpic_map, index);
|
||||
}
|
||||
|
||||
static inline int
|
||||
static inline int __attribute__((pure))
|
||||
qpic_index (draw_resources_t *res, qpic_res_t *qp)
|
||||
{
|
||||
PR_RESINDEX (res->qpic_map, qp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue