irefs_cmp: remove unneeded cast - stagit-gopher - A git gopher frontend. (mirror) Err bitreich.org 70 hgit clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ URL:git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ bitreich.org 70 1Log /scm/stagit-gopher/log.gph bitreich.org 70 1Files /scm/stagit-gopher/files.gph bitreich.org 70 1Refs /scm/stagit-gopher/refs.gph bitreich.org 70 1Tags /scm/stagit-gopher/tag bitreich.org 70 1README /scm/stagit-gopher/file/README.gph bitreich.org 70 1LICENSE /scm/stagit-gopher/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit a4d8cc9e561103401fde97b8d79179763b0ba2b4 /scm/stagit-gopher/commit/a4d8cc9e561103401fde97b8d79179763b0ba2b4.gph bitreich.org 70 1parent ee1e685d9d6391f5eba3c539462c76623d5b50de /scm/stagit-gopher/commit/ee1e685d9d6391f5eba3c539462c76623d5b50de.gph bitreich.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org bitreich.org 70 iDate: Sun, 15 Nov 2020 21:22:21 +0100 Err bitreich.org 70 i Err bitreich.org 70 irefs_cmp: remove unneeded cast Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M stagit-gopher.c | 3 +-- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 1 insertion(+), 2 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/stagit-gopher.c b/stagit-gopher.c /scm/stagit-gopher/file/stagit-gopher.c.gph bitreich.org 70 i@@ -299,8 +299,7 @@ err: Err bitreich.org 70 i int Err bitreich.org 70 i refs_cmp(const void *v1, const void *v2) Err bitreich.org 70 i { Err bitreich.org 70 i- struct referenceinfo *r1 = (struct referenceinfo *)v1; Err bitreich.org 70 i- struct referenceinfo *r2 = (struct referenceinfo *)v2; Err bitreich.org 70 i+ const struct referenceinfo *r1 = v1, *r2 = v2; Err bitreich.org 70 i time_t t1, t2; Err bitreich.org 70 i int r; Err bitreich.org 70 i Err bitreich.org 70 .