Final 0.6.11 version; only trivial changes
diff --git a/support.cc b/support.cc
index 1711209..7db2f06 100644
--- a/support.cc
+++ b/support.cc
@@ -251,10 +251,10 @@
while (itemNum-- > 0) {
startPos = endPos + 1;
- endPos = argument.find(':', startPos);
+ endPos = (int) argument.find(':', startPos);
}
if (endPos == (int) string::npos)
- endPos = argument.length();
+ endPos = (int) argument.length();
endPos--;
istringstream inString(argument.substr(startPos, endPos - startPos + 1));
@@ -268,10 +268,10 @@
while (itemNum-- > 0) {
startPos = endPos + 1;
- endPos = argument.find(':', startPos);
+ endPos = (int) argument.find(':', startPos);
}
if (endPos == (int) string::npos)
- endPos = argument.length();
+ endPos = (int) argument.length();
endPos--;
return argument.substr(startPos, endPos - startPos + 1);