diff --git a/ft/ftdump.cc b/ft/ftdump.cc
index 885784f19884b243f53b6bba5bc816634cc62cc0..72a95b6cb12934199874e53aad1e9d8b5d1d95c8 100644
--- a/ft/ftdump.cc
+++ b/ft/ftdump.cc
@@ -295,8 +295,8 @@ dump_garbage_stats(int f, FT ft) {
     uint64_t total_space = 0;
     uint64_t used_space = 0;
     toku_ft_get_garbage(ft, &total_space, &used_space);
-    printf("total_size\t%zu\n", total_space);
-    printf("used_size\t%zu\n", used_space);
+    printf("total_size\t%" PRIu64 "\n", total_space);
+    printf("used_size\t%" PRIu64 "\n", used_space);
 }
 
 static uint32_t