summaryrefslogtreecommitdiff
path: root/src/msgparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/msgparser.cc')
-rw-r--r--src/msgparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msgparser.cc b/src/msgparser.cc
index 70c71c6..c6f83d5 100644
--- a/src/msgparser.cc
+++ b/src/msgparser.cc
@@ -88,7 +88,7 @@ MsgVector parse_msg(std::string data) {
std::string token;
bool inside_quote = false;
char prev_ch = '0';
- for(int i = 0; i < data.length(); i++) {
+ for(size_t i = 0; i < data.length(); i++) {
char ch = data[i];
switch(ch) {