aboutsummaryrefslogtreecommitdiff
path: root/untangle.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-02-18 23:14:12 +0000
committerBen Harris <bjh21@bjh21.me.uk>2023-02-18 23:14:12 +0000
commit26c7f3aa285a45176c940afebe3885ad2be2ed65 (patch)
treed3e881616ae1881660e77f72d33489b34ae27e0d /untangle.c
parent3c3468355f8cf3dd644058ab239b948f8facebfa (diff)
downloadpuzzles-26c7f3aa285a45176c940afebe3885ad2be2ed65.zip
puzzles-26c7f3aa285a45176c940afebe3885ad2be2ed65.tar.gz
puzzles-26c7f3aa285a45176c940afebe3885ad2be2ed65.tar.bz2
puzzles-26c7f3aa285a45176c940afebe3885ad2be2ed65.tar.xz
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).
Diffstat (limited to 'untangle.c')
-rw-r--r--untangle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/untangle.c b/untangle.c
index 34924ae..cd1762f 100644
--- a/untangle.c
+++ b/untangle.c
@@ -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;