diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-18 23:14:12 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-18 23:14:12 +0000 |
| commit | 26c7f3aa285a45176c940afebe3885ad2be2ed65 (patch) | |
| tree | d3e881616ae1881660e77f72d33489b34ae27e0d /untangle.c | |
| parent | 3c3468355f8cf3dd644058ab239b948f8facebfa (diff) | |
| download | puzzles-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |