Add transtyping for support of 64bit cpu and 32cpu (or the printf verification for %d/%ld will fail)

This commit is contained in:
Manoel Trapier
2013-03-12 15:04:26 +01:00
committed by Manoël Trapier
parent 674eb61908
commit 22c8f3ac10
2 changed files with 2 additions and 2 deletions

View File

@@ -342,7 +342,7 @@ void printnodes()
printf("};\n\nshort lastind = %d;\n\nexpr_t enodes[] = {\n",prevind);
for (p=nodes;p<lastnode;p++)
printf("/* %3ld */\t%3d,%6u,%6u,\n",
p-nodes,p->ex_operator,p->ex_lnode,p->ex_rnode);
(long)(p-nodes),p->ex_operator,p->ex_lnode,p->ex_rnode);
printf("};\n\niarg_t iargs[%d];\n", (maxpatlen>0 ? maxpatlen : 1));
if (patid[0])
printf("static char rcsid[] = %s;\n",patid);