aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/gowin/determine_init.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-07-31 11:49:48 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-08-01 17:27:34 +0200
commit28b7053a01630def454e683f03953c74744da025 (patch)
treed4e488538478a2adb4348e97c541775e0ec35a17 /techlibs/gowin/determine_init.cc
parentb4f38cca77a78884ce215190935af78cae92c4db (diff)
downloadyosys-28b7053a01630def454e683f03953c74744da025.tar.gz
yosys-28b7053a01630def454e683f03953c74744da025.tar.bz2
yosys-28b7053a01630def454e683f03953c74744da025.zip
Fix formatting for msys2 mingw build using GetSize
Diffstat (limited to 'techlibs/gowin/determine_init.cc')
-rw-r--r--techlibs/gowin/determine_init.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/gowin/determine_init.cc b/techlibs/gowin/determine_init.cc
index 991e5245a..d9a0880f6 100644
--- a/techlibs/gowin/determine_init.cc
+++ b/techlibs/gowin/determine_init.cc
@@ -50,7 +50,7 @@ struct DetermineInitPass : public Pass {
extra_args(args, args.size(), design);
- size_t cnt = 0;
+ int cnt = 0;
for (auto module : design->selected_modules())
{
for (auto cell : module->selected_cells())
@@ -65,7 +65,7 @@ struct DetermineInitPass : public Pass {
}
}
}
- log_header(design, "Updated %lu cells with determined init value.\n", cnt);
+ log_header(design, "Updated %d cells with determined init value.\n", cnt);
}
} DetermineInitPass;