Skip to content

Commit

Permalink
Fix clang warnings on Ubuntu 18.04
Browse files Browse the repository at this point in the history
error: too many arguments provided to function-like macro invocation
  • Loading branch information
liviuchircu committed Aug 16, 2022
1 parent b53c3a7 commit 3fcdf3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transformations.c
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3fcdf3b

Please sign in to comment.