diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-05-24 12:07:25 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-05-24 12:07:25 +0200 |
commit | 91ea36900f8363f6f94ed4c9dc7f07fbf19cad6a (patch) | |
tree | 8b9aad66a5f35bda84ee0bff2730f7454f4ec0fe /src/messageparser.cc | |
parent | 181210b62a721b300e7ffe64880e069a91575212 (diff) |
Fix crash on 'observe n' where n was not in the tree. Fix compile warnings.
Diffstat (limited to 'src/messageparser.cc')
-rw-r--r-- | src/messageparser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messageparser.cc b/src/messageparser.cc index bfaa033..ea5e615 100644 --- a/src/messageparser.cc +++ b/src/messageparser.cc @@ -100,7 +100,7 @@ inline static void parse_into_msg_tokens(std::string& data, inline static void create_msg_list(MsgTokensList& msgTokensList, MessageList& msgList, bool clientmode) { - int origin = 0; + size_t origin = 0; if(clientmode) { origin = 1; } |