From 7aaa4dda2261f416478a9987ce25b46929c60957 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 24 Aug 2015 10:54:53 +0200 Subject: [PATCH] TagPrint: use unsigned integer --- src/TagPrint.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/TagPrint.cxx b/src/TagPrint.cxx index 331cabda5..3914a5860 100644 --- a/src/TagPrint.cxx +++ b/src/TagPrint.cxx @@ -26,12 +26,9 @@ void tag_print_types(Response &r) { - int i; - - for (i = 0; i < TAG_NUM_OF_ITEM_TYPES; i++) { + for (unsigned i = 0; i < TAG_NUM_OF_ITEM_TYPES; i++) if (!ignore_tag_items[i]) r.Format("tagtype: %s\n", tag_item_names[i]); - } } void