Greetings, all.

This bug report is some general cleanup of several printf format flags.
Currently, pointer values are being printed out like this

int *i;
printf("0x%x",i);

which generates a warning since %x wants an unsigned int instead of a
pointer. I propose changing this to

int *i;
printf("%p",(void*)i);

As best I can tell, the %p flag is ANSI compliant. Does anyone have any
objection to using it?

Since this bug fix affects several files and I don't have any experience
using Git, is there a tutorial somewhere that outlines your preferred
method of doing a check-in of multiple files and their associated comments?
I used `git clone git://pdl.git.sourceforge.net/gitroot/pdl/pdl my_dir` to
fetch the latest repository.

Thanks.

- Tim
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to