diff options
author | Max Kellermann <max@duempel.org> | 2015-08-24 10:54:53 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-08-24 11:20:45 +0200 |
commit | 7aaa4dda2261f416478a9987ce25b46929c60957 (patch) | |
tree | afb1792de65b9c039231687e2fafc6efa25bb1b5 | |
parent | 109b3700b5d8edd9de4f7c9178b9935bf9b1d968 (diff) | |
download | mpd-7aaa4dda2261f416478a9987ce25b46929c60957.tar.gz mpd-7aaa4dda2261f416478a9987ce25b46929c60957.tar.xz mpd-7aaa4dda2261f416478a9987ce25b46929c60957.zip |
TagPrint: use unsigned integer
-rw-r--r-- | src/TagPrint.cxx | 5 |
1 files changed, 1 insertions, 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 |