From 27c945b501562d8261eddf8dc7754ea9c2d1f502 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 2 Mar 2012 09:01:18 +0100 Subject: Fix signed/unsigned comparison mismatch. --- src/msgparser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3