On Fri, 2010-08-06 at 08:35 -0700, Joe Perches wrote:> snprintf(loc, size, "%p", (void)long)> might be best.Oops.On the other hand, "%p", (void *) would compilewithout warnings and be what I meant in the firstplace...snprintf(loc, size, "%p", (void *)long)