Remove warnings

This commit is contained in:
Zhi Guan
2024-05-17 13:12:51 +08:00
parent 7cc5b77cf8
commit d56eeaac5a
15 changed files with 179 additions and 463 deletions

View File

@@ -66,7 +66,7 @@ int format_bytes(FILE *fp, int format, int indent, const char *str, const uint8_
return -1;
}
for (i = 0; i < indent; i++) {
for (i = 0; i < (size_t)indent; i++) {
fprintf(fp, " ");
}
fprintf(fp, "%s: ", str);