From: ts Date: 2002-05-28T19:35:09+09:00 Subject: Re: The warns-a-thon continues... >>>>> "S" == Sean Chittenden writes: >> :- sprintf(buf, "$%c", node->nd_nth); >> :+ sprintf(buf, "$%ld", node->nd_nth); >> >> %lc S> I'm not an expert, or any where close, but if I'm reading node.h S> right, nd_nth is a long. Shouldn't it be %ld? This is this case, I think : pigeon% cat a.c #include main() { long c = '&'; printf("%ld -- %lc\n", c, c); } pigeon% cc a.c pigeon% a.out 38 -- & pigeon% Guy Decoux