TagPrint: use unsigned integer

This commit is contained in:
Max Kellermann 2015-08-24 10:54:53 +02:00
parent 109b3700b5
commit 7aaa4dda22

View File

@ -26,13 +26,10 @@
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
tag_print(Response &r, TagType type, const char *value) tag_print(Response &r, TagType type, const char *value)