mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user