tree-test: fix printf() types