Merge pull request #4840 from ldoolitt/main

keep_hierarchy.cc: use strictly correct syntax for printf of uint64_t values
This commit is contained in:
Emil J
2025-01-10 23:47:33 +01:00
committed by GitHub
+2 -1
View File
@@ -17,6 +17,7 @@
*
*/
#include <inttypes.h>
#include "kernel/yosys.h"
#include "kernel/cost.h"
@@ -66,7 +67,7 @@ struct ThresholdHierarchyKeeping {
}
if (size > threshold) {
log("Keeping %s (estimated size above threshold: %llu > %llu).\n", log_id(module), size, threshold);
log("Keeping %s (estimated size above threshold: %" PRIu64 " > %" PRIu64 ").\n", log_id(module), size, threshold);
module->set_bool_attribute(ID::keep_hierarchy);
size = 0;
}