3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-16 18:20:03 +00:00

cxxrtl: Suppress another un/signed comparison warning!

This commit is contained in:
Asherah Connor 2026-03-11 20:40:22 +11:00
parent de99d67bbd
commit 5c74446e57

View file

@ -1119,7 +1119,7 @@ struct fmt_part {
case STRING: {
buf.reserve(Bits/8);
for (int i = 0; i < Bits; i += 8) {
for (size_t i = 0; i < Bits; i += 8) {
char ch = 0;
for (int j = 0; j < 8 && i + j < int(Bits); j++)
if (val.bit(i + j))