> I'm getting "integral argument required (warning)" in v7.85 on the > following line and I can't figure out how to get rid of it: > > printf("%08xh", tP); > > where > > void (* tP) (void); > > All I want to do is printf() the pointer, in hex, to 8 digits (code is also > used in an x86 environment). How can I fix this? > Either cast the argument to an int, like this: printf("%08xh",(int) tP); This may also generate a warning... Use the "pointer to void" print conversion specifier thusly: printf("%08p",tP); Note that %p outputs in an "implementation-defined manner". -d