summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rl_str_proc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rl_str_proc.cc b/src/rl_str_proc.cc
index 700c6c5..f94ae10 100644
--- a/src/rl_str_proc.cc
+++ b/src/rl_str_proc.cc
@@ -67,7 +67,7 @@ StrProc::get(int start, int end)
string tmp;
for (size_t i = (size_t) start;
- (i < end) && (i < _str_coll.size()); ++i) {
+ (i < (size_t) end) && (i < _str_coll.size()); ++i) {
tmp += _str_coll[i] + " ";
}
return tmp.substr(0,tmp.length()-1);