actually this should be fixed properly by changing the format string to use the type specific macros.