use proper type

This commit is contained in:
Daniel Sipka 2015-10-10 14:01:13 +02:00
parent 618652c987
commit cc2c18f1c8

View file

@ -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);