From cc2c18f1c8d48663f38e6bc22452f60ca37ee289 Mon Sep 17 00:00:00 2001 From: Daniel Sipka Date: Sat, 10 Oct 2015 14:01:13 +0200 Subject: [PATCH] use proper type --- src/template_type.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);