fix printf formatters

compiles & internal tests pass on debian sid (gcc & clang)