Miscellaneous const fixes

These are cases where -Wcast-qual complained and the only change needed
was to add or remove a "const" (or sometimes an entire cast).
This commit is contained in:
Ben Harris
2023-02-18 23:14:12 +00:00
parent 3c3468355f
commit 26c7f3aa28
5 changed files with 9 additions and 9 deletions

View File

@ -444,8 +444,8 @@ typedef struct vertex {
static int vertcmpC(const void *av, const void *bv)
{
const vertex *a = (vertex *)av;
const vertex *b = (vertex *)bv;
const vertex *a = (const vertex *)av;
const vertex *b = (const vertex *)bv;
if (a->param < b->param)
return -1;