Commit 7aaa4dda authored by Max Kellermann's avatar Max Kellermann

TagPrint: use unsigned integer

parent 109b3700
...@@ -26,12 +26,9 @@ ...@@ -26,12 +26,9 @@
void void
tag_print_types(Response &r) tag_print_types(Response &r)
{ {
int i; for (unsigned i = 0; i < TAG_NUM_OF_ITEM_TYPES; i++)
for (i = 0; i < TAG_NUM_OF_ITEM_TYPES; i++) {
if (!ignore_tag_items[i]) if (!ignore_tag_items[i])
r.Format("tagtype: %s\n", tag_item_names[i]); r.Format("tagtype: %s\n", tag_item_names[i]);
}
} }
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment