diff --git a/src/template_type.cpp b/src/template_type.cpp index deb65a0..41f0fd6 100644 --- a/src/template_type.cpp +++ b/src/template_type.cpp @@ -23,7 +23,7 @@ void template_type::tokenize(const std::string& tmp) { citer beg = tmp.begin(); auto npos = std::string::npos; - for (unsigned long long cur_pos = 0; cur_pos < tmp.size();) { + for (std::size_t cur_pos = 0; cur_pos < tmp.size();) { auto open_pos = tmp.find(open, cur_pos); auto close_pos = tmp.find( close, open_pos == npos ? open_pos : open_pos + 1);