summaryrefslogtreecommitdiff
path: root/passes/hierarchy
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-10-11 11:42:08 +0200
committerClifford Wolf <clifford@clifford.at>2014-10-11 11:42:08 +0200
commit35fbc0b35fb2dafa1b7d1df98ed72688e2eeead6 (patch)
treebbeb61f87150444f2587225518eaa82c8704eef0 /passes/hierarchy
parent8263f6a74a822579f3c1da7d8b128ea8ab7b4d79 (diff)
Do not the 'z' modifier in format string (another win32 fix)
Diffstat (limited to 'passes/hierarchy')
-rw-r--r--passes/hierarchy/hierarchy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/hierarchy/hierarchy.cc b/passes/hierarchy/hierarchy.cc
index 87d11502..4b414d3c 100644
--- a/passes/hierarchy/hierarchy.cc
+++ b/passes/hierarchy/hierarchy.cc
@@ -281,7 +281,7 @@ void hierarchy(RTLIL::Design *design, RTLIL::Module *top, bool purge_lib, bool f
delete mod;
}
- log("Removed %zd unused modules.\n", del_modules.size());
+ log("Removed %d unused modules.\n", GetSize(del_modules));
}
bool set_keep_assert(std::map<RTLIL::Module*, bool> &cache, RTLIL::Module *mod)