stagit
static git repository generator
git clone https://9o.is/git/stagit.git
commit fb5d4358623757f2fdbb21b28a2fcf59e923e058 parent cffa6b13c8be40c12cd628eac75c5615352952b1 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 15 Nov 2020 20:58:41 +0100 refs_cmp: remove unneeded cast Diffstat:
| M | stagit.c | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/stagit.c b/stagit.c @@ -253,8 +253,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;