summaryrefslogtreecommitdiff
path: root/dpmert/mr_dpmert_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dpmert/mr_dpmert_map.cc')
-rw-r--r--dpmert/mr_dpmert_map.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpmert/mr_dpmert_map.cc b/dpmert/mr_dpmert_map.cc
index f3304f0f..d1efcf96 100644
--- a/dpmert/mr_dpmert_map.cc
+++ b/dpmert/mr_dpmert_map.cc
@@ -52,7 +52,7 @@ bool ReadSparseVectorString(const string& s, SparseVector<double>* v) {
vector<string> fields;
Tokenize(s, ';', &fields);
if (fields.empty()) return false;
- for (int i = 0; i < fields.size(); ++i) {
+ for (unsigned i = 0; i < fields.size(); ++i) {
vector<string> pair(2);
Tokenize(fields[i], '=', &pair);
if (pair.size() != 2) {