summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-03-02 09:01:18 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-03-02 09:01:18 +0100
commit27c945b501562d8261eddf8dc7754ea9c2d1f502 (patch)
tree6ffa5a6780b9cd34c298eddda1bcd8c1eaff295d /src
parent320d3750c508752337e95d9d2ff67f31d7675023 (diff)
Fix signed/unsigned comparison mismatch.
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) {