summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/msgparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msgparser.cc b/src/msgparser.cc
index c05a9ee..68de487 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) {