commit a4d8cc9e561103401fde97b8d79179763b0ba2b4 parent ee1e685d9d6391f5eba3c539462c76623d5b50de Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 15 Nov 2020 21:22:21 +0100 refs_cmp: remove unneeded cast Diffstat:
M | stagit-gopher.c | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/stagit-gopher.c b/stagit-gopher.c @@ -299,8 +299,7 @@ err: int refs_cmp(const void *v1, const void *v2) { - struct referenceinfo *r1 = (struct referenceinfo *)v1; - struct referenceinfo *r2 = (struct referenceinfo *)v2; + const struct referenceinfo *r1 = v1, *r2 = v2; time_t t1, t2; int r;