diff options
Diffstat (limited to 'src/item.cc')
-rw-r--r-- | src/item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cc b/src/item.cc index 54f36e11..c4db7a51 100644 --- a/src/item.cc +++ b/src/item.cc @@ -142,7 +142,7 @@ void item_t::parse_tags(const char * p, optional<date_t::year_type> current_year for (char * q = std::strtok(buf.get(), " \t"); q; q = std::strtok(NULL, " \t")) { - const std::size_t len = std::strlen(q); + const string::size_type len = std::strlen(q); if (! tag.empty()) { if (! has_tag(tag)) set_tag(tag, string(p + (q - buf.get()))); |