On Thu, Jul 04, 2019 at 10:03:20PM +0200, Moritz Buhl wrote: > - yyerror("rule label too long (max %d chars)", > + yyerror("rule label too long (max %ld chars)", > sizeof(r->label)-1);
> yyerror("rule qname too long (max " > - "%d chars)", sizeof(r->qname)-1); > + "%lu chars)", sizeof(r->qname)-1); > yyerror("rule pqname too long (max " > - "%d chars)", sizeof(r->pqname)-1); > + "%lu chars)", sizeof(r->pqname)-1); sizeof() format string should be %zu. otherwise OK bluhm@