Fixed some more traces to use the right printf format and avoid
typecasts.

28 files changed