From 3fcdf3bd60254feab4b2d66d3349881f55f5f562 Mon Sep 17 00:00:00 2001 From: Liviu Chircu Date: Tue, 16 Aug 2022 22:50:53 +0300 Subject: [PATCH] Fix clang warnings on Ubuntu 18.04 error: too many arguments provided to function-like macro invocation --- transformations.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transformations.c b/transformations.c index 62b19ee80be..14504584f60 100644 --- a/transformations.c +++ b/transformations.c @@ -3382,8 +3382,8 @@ int tr_parse_paramlist(str* in, trans_t *t) return 0; - } else if(str_match(&name, &str_const_init("exist")) - || str_match(&name, &str_const_init("exists"))) { + } else if(str_match(&name, &(str_const_init("exist"))) + || str_match(&name, &(str_const_init("exists")))) { t->subtype = TR_PL_EXIST; if(*p!=TR_PARAM_MARKER) {