summaryrefslogtreecommitdiff
path: root/tools/splitstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/splitstring.c')
-rw-r--r--tools/splitstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/splitstring.c b/tools/splitstring.c
index 14af577..8435185 100644
--- a/tools/splitstring.c
+++ b/tools/splitstring.c
@@ -13,7 +13,7 @@ vector<string>& splitstring::split(char delim, int rep) {
if (!flds.empty()) flds.clear(); // empty vector if necessary
string work = data();
string buf = "";
- int i = 0;
+ unsigned int i = 0;
while (i < work.length()) {
if (work[i] != delim)
buf += work[i];