Suppress warning from gcc 10.2.1.

This commit is contained in:
Giles Atkinson 2022-05-09 09:02:31 +01:00 committed by Holger Vogt
parent 11d6c41a7d
commit 55e8975124
1 changed files with 1 additions and 1 deletions

View File

@ -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),