From 8c7b7789d977240cf0cc4b8b0db4eef86ddc4fd5 Mon Sep 17 00:00:00 2001 From: Giles Atkinson <“gatk555@gmail.com”> Date: Mon, 9 May 2022 09:02:31 +0100 Subject: [PATCH] Suppress warning from gcc 10.2.1. --- src/frontend/evaluate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/evaluate.c b/src/frontend/evaluate.c index ef0a31308..044f85d51 100644 --- a/src/frontend/evaluate.c +++ b/src/frontend/evaluate.c @@ -843,7 +843,7 @@ apply_func_funcall(struct func *func, struct dvec *v, int *newlength, short int void * (*f) (void *data, short int type, int length, int *newlength, short int *newtype, struct plot *, struct plot *, int) = - (void * (*) (void *, short int, int, int *, short int *, struct plot *, struct plot *, int)) func->fu_func; + (void * (*) (void *, short int, int, int *, short int *, struct plot *, struct plot *, int)) (void *)func->fu_func; data = f (isreal(v) ? (void *) v->v_realdata : (void *) v->v_compdata, (short) (isreal(v) ? VF_REAL : VF_COMPLEX),